ID 5786429
Пользователь Морозов Денис Витальевич
Время 19:34<< 16.11.2021 19:34 (27 д. 17:34) 19:35>>
Обработка 19:34 ... 19:34 (3,13 сек.)
Файл 5786429.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
main.cpp: In function 'int main()':
main.cpp:33:37: error: no matching function for call to 'CreateFigure(std::istringstream&)'
    figures.push_back(CreateFigure(is));
                                     ^
In file included from main.cpp:17:0:
figure.h:57:3: note: candidate: template<class T> T CreateFigure(std::istringstream&)
 T CreateFigure(std::istringstream& is) {
   ^~~~~~~~~~~~
figure.h:57:3: note:   template argument deduction/substitution failed:
main.cpp:33:37: note:   couldn't deduce template parameter 'T'
    figures.push_back(CreateFigure(is));
                                     ^
0.030s 0.008s 9