Problem exponentiate
User Ant1234567890
Submission Time 2025-06-10 08:56:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:8:17: error: expected ‘;’ before ‘z’
8 | for(i=x;i>0,i--z){
| ^
| ;
exponentiate.cpp:8:17: error: ‘z’ was not declared in this scope
exponentiate.cpp:10:11: error: ‘pow’ was not declared in this scope
10 | cout<<((pow(a,b))%m)<<"\n"
| ^~~