Problem exponentiate_ex
User JerryCodebreaker
Submission Time 2024-07-05 01:08:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp: In function ‘long long unsigned int ex(long long unsigned int, long long unsigned int, long long unsigned int)’:
exponentiate_ex.cpp:12:21: error: expected ‘;’ before ‘}’ token
12 | return x%z*r%z*r%z
| ^
| ;
13 | }
| ~
exponentiate_ex.cpp:14:11: error: a function-definition is not allowed here before ‘{’ token
14 | int main(){
| ^
exponentiate_ex.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
exponentiate_ex.cpp:3:86: note: to match this ‘{’
3 | unsigned long long ex(unsigned long long x,unsigned long long y,unsigned long long z){
| ^