Problem | exponentiate |
---|---|
User | justin271828 |
Submission Time | 2024-06-01 16:05:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int exp(int, int, int)’:
exponentiate.cpp:15:12: error: a function-definition is not allowed here before ‘{’ token
15 | int main() {
| ^
exponentiate.cpp:27:1: error: expected ‘}’ at end of input
27 | }
| ^
exponentiate.cpp:6:30: note: to match this ‘{’
6 | int exp(int a, int b, int m) {
| ^