Problem exponentiate
User christal
Submission Time 2023-12-20 15:10:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:9:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
9 | for (a,b=0; a,b<T; a,b++){
| ^
exponentiate.cpp:11:19: error: expected primary-expression before ‘int’
11 | int exponential=int expo(a, b);
| ^~~
exponentiate.cpp:13:13: error: expected primary-expression before ‘return’
13 | cout << return exponential%MOD;
| ^~~~~~