Problem | exponentiate |
---|---|
User | goofy |
Submission Time | 2025-05-17 17:14:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘long long int exponentiate(long long int, long long int, long long int)’:
exponentiate.cpp:10:13: error: ‘result’ was not declared in this scope
10 | result = (result * base) % mod;
| ^~~~~~
exponentiate.cpp: At global scope:
exponentiate.cpp:34:1: error: expected declaration before ‘}’ token
34 | }
| ^