Problem exponentiate
User JoshJuice
Submission Time 2024-08-21 13:50:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
exponentiate.cpp:9:11: note: in expansion of macro ‘int’
9 | cout << int(pow(a,b))%m << endl;
| ^~~