Problem exponentiate_ex
User user123
Submission Time 2023-08-28 20:38:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp:1:2: error: invalid preprocessing directive #long
1 | #long long power(long long x, long long y)
| ^~~~
exponentiate_ex.cpp:2:2: error: invalid preprocessing directive #{
2 | #{
| ^
exponentiate_ex.cpp:3:16: error: missing binary operator before token "return"
3 | # if (y==0) return 1;
| ^~~~~~
exponentiate_ex.cpp:6: error: unterminated #if
6 | # if (y%2) t=(t*x)%mod;
|
exponentiate_ex.cpp:3: error: unterminated #if
3 | # if (y==0) return 1;
|