Problem exponentiate
User LXYSGP
Submission Time 2026-01-17 15:19:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘long long int exp(long long int, long long int, long long int)’:
exponentiate.cpp:11:17: error: ‘m’ was not declared in this scope
11 | ans=(ans*ans)%m;
| ^