Problem amicablecats
User Kenniene
Submission Time 2024-06-01 00:13:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

amicablecats.cpp: In function ‘long long unsigned int modExponential(long long unsigned int, long long unsigned int)’:
amicablecats.cpp:32:40: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
32 | result = (result * base) % mod;
| ^~~
| modf
amicablecats.cpp:34:32: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
34 | base = (base * base) % mod;
| ^~~
| modf