Problem | exponentiate |
---|---|
User | NgMinSong123 |
Submission Time | 2023-12-20 14:40:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int expo(int, int, int)’:
exponentiate.cpp:10:22: error: too few arguments to function ‘int expo(int, int, int)’
10 | return (expo(a, b-1) * a)%m;
| ^
exponentiate.cpp:5:5: note: declared here
5 | int expo(int a, int b, int m){
| ^~~~
exponentiate.cpp:12:27: error: too few arguments to function ‘int expo(int, int, int)’
12 | int save = expo(a, b/2);
| ^
exponentiate.cpp:5:5: note: declared here
5 | int expo(int a, int b, int m){
| ^~~~