ID 5480189
Пользователь Акуленко Валерий Васильевич
Время 17:19<< 13.10.2021 17:19 (28 д. 07:53) 17:20>>
Обработка 17:19 ... 17:19 (5,92 сек.)
Файл 5480189.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:30:22: error: use of deleted function 'Set::Set(const Set&)'
     return Set(newSet);
                      ^
set.h:125:3: note: declared here
   Set(const Set &) = delete;
   ^~~
set.h: In member function 'Set Set::Intersection(const Set&) const':
set.h:45:19: error: use of deleted function 'Set::Set(const Set&)'
     return Set(buf);
                   ^
set.h:125:3: note: declared here
   Set(const Set &) = delete;
   ^~~
set.h: In member function 'Set Set::Difference(const Set&) const':
set.h:72:19: error: use of deleted function 'Set::Set(const Set&)'
     return Set(buf);
                   ^
set.h:125:3: note: declared here
   Set(const Set &) = delete;
   ^~~
set.h: In member function 'Set Set::SymmetricDifference(const Set&) const':
set.h:88:21: error: use of deleted function 'Set::Set(const Set&)'
     return Set(new_v);
                     ^
set.h:125:3: note: declared here
   Set(const Set &) = delete;
   ^~~
[печатать | |
]
(3 014 b)
0.059s 0.012s 10