Problem | exponentiate |
---|---|
User | Daddy |
Submission Time | 2023-11-20 15:13:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:17:13: error: ‘n’ was not declared in this scope
17 | x=pow(a,n);
| ^
exponentiate.cpp:18:7: error: expected ‘;’ before ‘x’
18 | x=x%m
| ^
| ;
19 | x=pow(a,c);
| ~