ID 5786510
Пользователь Морозов Денис Витальевич
Время 19:38<< 16.11.2021 19:39 (27 д. 17:39) 19:39>>
Обработка 19:39 ... 19:39 (2,31 сек.)
Файл 5786510.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:6: note: candidate: template<class T> auto CreateFigure(std::istringstream&)
 auto CreateFigure(std::istringstream& is) {
      ^~~~~~~~~~~~
figure.h:57:6: note:   template argument deduction/substitution failed:
main.cpp:33:37: note:   couldn't deduce template parameter 'T'
    figures.push_back(CreateFigure(is));
                                     ^
[печатать | |
]
(1 928 b)
0.041s 0.012s 10