ID 5405510
Пользователь Кустов Юрий Сергеевич
Время 18:03<< 24.09.2021 18:08 (9 д. 08:42) 18:11>>
Обработка 18:08 ... 18:08 (2,32 сек.)
Файл 5405510.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:5: error: '__int64' was not declared in this scope
     __int64 VAL = value;
     ^~~~~~~
num.cpp:55:5: note: suggested alternative: '__rintf64'
     __int64 VAL = value;
     ^~~~~~~
     __rintf64
num.cpp:56:14: error: 'VAL' was not declared in this scope
     value = (VAL + num) % modulo;
              ^~~
num.cpp: In member function 'Num& Num::operator*=(int)':
num.cpp:67:5: error: '__int64' was not declared in this scope
     __int64 VAL = value;
     ^~~~~~~
num.cpp:67:5: note: suggested alternative: '__rintf64'
     __int64 VAL = value;
     ^~~~~~~
     __rintf64
num.cpp:68:14: error: 'VAL' was not declared in this scope
     value = (VAL * num) % modulo;
              ^~~
0.054s 0.010s 9