ID 5420492
Пользователь Пиляй Николай Владимирович
Время 00:40<< 30.09.2021 00:41 (14 д. 15:14) 00:41>>
Обработка 00:41 ... 00:41 (6,73 сек.)
Файл 5420492.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&) const':
set.h:48:16: error: could not convert 'un_v1' from 'std::vector<long int>' to 'Set'
         return un_v1;
                ^~~~~
set.h: In member function 'Set Set::Intersection(const Set&) const':
set.h:59:16: error: could not convert 'un_v3' from 'std::vector<long int>' to 'Set'
         return un_v3;
                ^~~~~
set.h: In member function 'Set Set::Difference(const Set&) const':
set.h:70:16: error: could not convert 'un_v1' from 'std::vector<long int>' to 'Set'
         return un_v1;
                ^~~~~
set.h: In member function 'Set Set::SymmetricDifference(const Set&) const':
set.h:83:16: error: could not convert 'un_v1' from 'std::vector<long int>' to 'Set'
         return un_v1;
                ^~~~~
0.045s 0.015s 9