ID 5454051
Пользователь Росляков Владимир Олегович
Время 17:36<< 07.10.2021 17:37 (22 д. 08:10) 17:39>>
Обработка 17:37 ... 17:37 (6,57 сек.)
Файл 5454051.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 'Set Set::Union(const Set&)':
set.h:109:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
       for (int64_t i = 0; i < second.vec.size(); i++) {
                           ~~^~~~~~~~~~~~~~~~~~~
set.h: In member function 'Set Set::Intersection(const Set&)':
set.h:122:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
       for (int64_t i = 0; i < this->vec.size(); i++) {
                           ~~^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[печатать | |
]
(4 656 b)
0.042s 0.008s 10