входкурсы / турнирызадачиучастникиконсольмодуликомпиляторыключевые словарезультаты | ru en cn |
ID | 5482080 | ||
---|---|---|---|
Пользователь | Псарев Александр Павлович | ||
Время | 22:36<< 13.10.2021 22:37 (9 д. 02:53) 22:38>> | ||
Обработка | 22:37 ... 22:37 (5,72 сек.) | ||
Файл | 5482080.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:18:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < v.size(); ++i) { ~~^~~~~~~~~~ set.h: In member function 'Set Set::Union(const Set&)': set.h:29:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < firstSet.s.size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~ set.h:35:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < this->s.size(); ++i) { ~~^~~~~~~~~~~~~~~~ set.h: In member function 'Set Set::Intersection(const Set&)': set.h:46:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < S.s.size(); ++i) { ~~^~~~~~~~~~~~ set.h: In member function 'Set Set::Difference(const Set&)': set.h:55:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < firstSet.s.size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~ set.h: In member function 'Set Set::SymmetricDifference(const Set&)': set.h:65:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < S.s.size(); ++i) { ~~^~~~~~~~~~~~ set.h:71:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < this->s.size(); ++i) { ~~^~~~~~~~~~~~~~~~ set.h: In member function 'bool Set::Contains(int64_t)': set.h:86:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < this->s.size(); ++i) { ~~^~~~~~~~~~~~~~~~ set.h: In member function 'void Set::Remove(int64_t)': set.h:94:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (int i = 0; i < this->s.size(); ++i) { ~~^~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors |
||
|
||
Файлы на сервере и клиенте не совпали
(2 302 b)
|