ID 5405519
Пользователь Кустов Юрий Сергеевич
Время 18:08<< 24.09.2021 18:11 (9 д. 08:45) 18:17>>
Обработка 18:11 ... 18:11 (3,35 сек.)
Файл 5405519.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача B: Finite Field (Hard version)
Набор тестов
Ограничения Время: 5с Память: 512Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:8:0:
num.cpp: In member function 'Num& Num::operator+=(int)':
num.cpp:55:26: error: '__int64' does not name a type; did you mean '__rintf64'?
     value = (static_cast<__int64>(value) + num) % modulo;
                          ^~~~~~~
                          __rintf64
num.cpp: In member function 'Num& Num::operator*=(int)':
num.cpp:66:5: error: '__int64' was not declared in this scope
     __int64 VAL = value;
     ^~~~~~~
num.cpp:66:5: note: suggested alternative: '__rintf64'
     __int64 VAL = value;
     ^~~~~~~
     __rintf64
num.cpp:67:26: error: '__int64' does not name a type; did you mean '__rintf64'?
     value = (static_cast<__int64>(value) * num) % modulo;
                          ^~~~~~~
                          __rintf64
0.043s 0.009s 9