| Problem | exponentiate |
|---|---|
| User | Martin |
| Submission Time | 2026-09-27 12:38:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int square(int, int)’:
exponentiate.cpp:6:2: error: expected ‘,’ or ‘;’ before ‘if’
6 | if (B == 0){
| ^~
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:26:10: error: ‘A’ was not declared in this scope
26 | cin >> A >> B >> M;
| ^
exponentiate.cpp:26:15: error: ‘B’ was not declared in this scope
26 | cin >> A >> B >> M;
| ^
exponentiate.cpp:26:20: error: ‘M’ was not declared in this scope
26 | cin >> A >> B >> M;
| ^