Problem | prime |
---|---|
User | Kiameimon |
Submission Time | 2024-01-27 16:14:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘long long int modpow(long long int, long long int, long long int)’:
prime.cpp:8:25: error: expected primary-expression before ‘,’ token
8 | for(; e; b = b*b % mod), e /= 2)
| ^
prime.cpp: In function ‘bool isPrime(long long int)’:
prime.cpp:20:8: error: ‘modmult’ was not declared in this scope
20 | p = modmult(p, p, n);
| ^~~~~~~