ID 5926225
Пользователь Абакаев Дени Исмаилович
Время 13:16<< 22.12.2021 13:17 (31 д. 19:16) 23.12.2021 11:02>>
Обработка 13:17 ... 13:17 (14,17 сек.)
Файл 5926225.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача C: Smart Pointer
Набор тестов
Ограничения Время: 25с Память: 512Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
main.cpp:4:2: error: #error ":("
 #error ":("
  ^~~~~
In file included from Test_SmartPointer.hpp:3:0,
                 from main.cpp:6:
SmartPointer.hpp:6:7: error: redefinition of 'class smart_pointer::exception'
 class exception : std::exception {
       ^~~~~~~~~
In file included from main.cpp:2:0:
SmartPointer.hpp:6:7: note: previous definition of 'class smart_pointer::exception'
 class exception : std::exception {
       ^~~~~~~~~
In file included from Test_SmartPointer.hpp:3:0,
                 from main.cpp:6:
SmartPointer.hpp:12:7: error: redefinition of 'class smart_pointer::SmartPointer<T, Allocator>'
 class SmartPointer {
       ^~~~~~~~~~~~
In file included from main.cpp:2:0:
SmartPointer.hpp:12:7: note: previous definition of 'class smart_pointer::SmartPointer<T, Allocator>'
 class SmartPointer {
       ^~~~~~~~~~~~
[печатать | |
]
(3 258 b)
0.108s 0.008s 10