ID 5477570
Пользователь Александренко Владимир Александрович
Время 12.10.2021 22:33 (27 д. 13:06) 22:36>>
Обработка 22:33 ... 22:33 (11,17 сек.)
Файл 5477570.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(Set)':
set.h:60:12: error: could not convert 'res' from 'std::vector<long int>' to 'Set'
     return res;
            ^~~
set.h: In member function 'Set Set::Intersection(Set)':
set.h:68:12: error: could not convert 'res' from 'std::vector<long int>' to 'Set'
     return res;
            ^~~
set.h: In member function 'Set Set::Difference(Set)':
set.h:76:12: error: could not convert 'res' from 'std::vector<long int>' to 'Set'
     return res;
            ^~~
set.h: In member function 'Set Set::SymmetricDifference(Set)':
set.h:87:12: error: could not convert 'res' from 'std::vector<long int>' to 'Set'
     return res;
            ^~~
0.038s 0.009s 9