Problem exponentiate
User peepeepoop
Submission Time 2026-02-13 23:29:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘long long unsigned int answerfr(long long unsigned int, long long unsigned int, long long unsigned int)’:
exponentiate.cpp:14:26: error: ‘M’ was not declared in this scope
14 | base = (base * base) % M;
| ^