ID 5408436
Пользователь Новожилов Илья Сергеевич
Время 18:56<< 25.09.2021 18:57 (10 д. 09:31) 18:59>>
Обработка 18:57 ... 18:57 (7,22 сек.)
Файл Source.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача C: Set
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:16:0:
set.h: In member function 'void Set::Add(int64_t)':
set.h:20:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i < this->v.size(); i++)
                         ~~^~~~~~~~~~~~~~~~
set.h: In member function 'void Set::Remove(int64_t)':
set.h:29:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i < this->v.size(); i++)
                         ~~^~~~~~~~~~~~~~~~
set.h: In member function 'bool Set::Contains(int64_t) const':
set.h:37:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int i = 0; i < this->v.size(); i++)
                         ~~^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
0.047s 0.009s 9