Problem exponentiate
User XinLoiDuongNgu
Submission Time 2025-08-31 10:47:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:5:10: error: ‘a’ was not declared in this scope
5 | ll solve(a,b,m)
| ^
exponentiate.cpp:5:12: error: ‘b’ was not declared in this scope
5 | ll solve(a,b,m)
| ^
exponentiate.cpp:5:14: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
5 | ll solve(a,b,m)
| ^
| tm
exponentiate.cpp:5:15: error: expression list treated as compound expression in initializer [-fpermissive]
5 | ll solve(a,b,m)
| ^
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:23:20: error: ‘solve’ cannot be used as a function
23 | cout<<solve(a,b,m);
| ^