ID 5786435
Пользователь Морозов Денис Витальевич
Время 19:34<< 16.11.2021 19:35 (27 д. 17:35) 19:37>>
Обработка 19:35 ... 19:35 (3,29 сек.)
Файл 5786435.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:17:0:
figure.h:56:16: error: expected identifier before '*' token
 template <class* T>
                ^
figure.h:57:1: error: 'T' does not name a type
 T CreateFigure(std::istringstream& is) {
 ^
main.cpp: In function 'int main()':
main.cpp:33:22: error: 'CreateFigure' was not declared in this scope
    figures.push_back(CreateFigure(is));
                      ^~~~~~~~~~~~
main.cpp:33:22: note: suggested alternative: '_ZTI6Figure'
    figures.push_back(CreateFigure(is));
                      ^~~~~~~~~~~~
                      _ZTI6Figure
[печатать | |
]
(1 904 b)
0.071s 0.009s 10