ID 5405481
Пользователь Кустов Юрий Сергеевич
Время 17:19<< 24.09.2021 17:42 (9 д. 08:15) 17:52>>
Обработка 17:42 ... 17:42 (2,55 сек.)
Файл 5405481.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:14: error: '__int64' was not declared in this scope
     value = (__int64(value) * num) % modulo;
              ^~~~~~~
num.cpp:67:14: note: suggested alternative: '__rintf64'
     value = (__int64(value) * num) % modulo;
              ^~~~~~~
              __rintf64
[печатать | |
]
(1 531 b)
0.086s 0.016s 10