входкурсы / турнирызадачиучастникиконсольмодуликомпиляторыключевые словарезультаты | ru en cn |
ID | 5411620 | ||
---|---|---|---|
Пользователь | Бурлакова Ксения Александровна | ||
Время | 17:56<< 27.09.2021 17:57 (12 д. 08:30) 18:12>> | ||
Обработка | 17:57 ... 17:57 (6,64 сек.) | ||
Файл | 5411620.cpp (CLang++ 5.0.0 + Address Sanitizer) | ||
Турнир | 2 курс. Программирование на C++. Турнир 1, осень 2021 | ||
Задача | C: Set | ||
Набор тестов | |||
Ограничения | Время: 1с Память: 512Мб | ||
Состояние [?] |
|
||
код | результаты |
In file included from main.cpp:16:0: set.h: In constructor 'Set::Set(const std::vector<long int>&)': set.h:24:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int64_t i = 0; i < v.size(); i++) { ~~^~~~~~~~~~ set.h: In member function 'Set Set::Union(const Set&) const': set.h:50:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int64_t i = 0; i < this->set.size(); i++) { ~~^~~~~~~~~~~~~~~~~~ set.h:53:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int64_t j = 0; j < other.set.size(); j++) { ~~^~~~~~~~~~~~~~~~~~ set.h: In member function 'Set Set::Intersection(const Set&) const': set.h:61:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int64_t i = 0; i < other.set.size(); i++) { ~~^~~~~~~~~~~~~~~~~~ set.h: In member function 'Set Set::Difference(const Set&) const': set.h:71:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int64_t i = 0; i < this->set.size(); i++) { ~~^~~~~~~~~~~~~~~~~~ set.h: In member function 'Set Set::SymmetricDifference(const Set&) const': set.h:82:47: error: no matching function for call to 'Set::Difference(const std::vector<long int>&) const' s = s.Union(other.Difference(this->set)); ^ set.h:69:9: note: candidate: Set Set::Difference(const Set&) const Set Difference(const Set& other) const { ^~~~~~~~~~ set.h:69:9: note: no known conversion for argument 1 from 'const std::vector<long int>' to 'const Set&' cc1plus: all warnings being treated as errors |
||
|
||
Файлы на сервере и клиенте не совпали
(2 008 b)
|