Problem exponentiate
User zsinfo2010
Submission Time 2023-11-10 13:47:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:12:18: error: expected primary-expression before ‘int’
12 | int result=pow(int base, int exponent) % m;
| ^~~
exponentiate.cpp:12:28: error: expected primary-expression before ‘int’
12 | int result=pow(int base, int exponent) % m;
| ^~~