Problem | exponentiate |
---|---|
User | zsinfo2010 |
Submission Time | 2023-11-10 13:46:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
exponentiate.cpp:13:18: note: in expansion of macro ‘int’
13 | int result=pow(int base, int exponent) % m;
| ^~~
exponentiate.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
exponentiate.cpp:13:28: note: in expansion of macro ‘int’
13 | int result=pow(int base, int exponent) % m;
| ^~~