ID 5908280
Пользователь Пигидин Игорь
Время 12.12.2021 19:21<< 13.12.2021 20:01 (9 д. 20:01) 16.12.2021 16:45>>
Обработка 20:01 ... 20:01 (13,17 сек.)
Файл 5908280.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 3, осень 2021
Задача E: Is convertable
Набор тестов
Ограничения Время: 1с Память: 4000Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:19:0:
is_customly_convertible.h:10:1: error: 'Test' does not name a type
 Test t;
 ^~~~
is_customly_convertible.h:27:68: error: 't' was not declared in this scope
 static constexpr decltype(std::declval<Convert<Q, Z>>().operator()(t),
                                                                    ^
is_customly_convertible.h:27:68: error: 't' was not declared in this scope
main.cpp: In function 'int main()':
main.cpp:58:5: error: static assertion failed
     static_assert(is_customly_convertible<Test, int>::value);
     ^~~~~~~~~~~~~
[печатать | |
]
(991 b)
0.077s 0.010s 10