Problem prime
User Kiameimon
Submission Time 2023-12-26 23:58:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘long long int modmult(long long int, long long int, long long int)’:
prime.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
prime.cpp:6:18: note: in expansion of macro ‘int’
6 | int ret = a*b-M*int(1.L/M*a*b);
| ^~~