Problem | exponentiate |
---|---|
User | sussygoose |
Submission Time | 2024-11-07 13:58:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘long long int oper(long long int, long long int, long long int)’:
exponentiate.cpp:10:27: error: too few arguments to function ‘long long int oper(long long int, long long int, long long int)’
10 | return (oper(e,x/2) * oper(e,x/2)) % m;
| ^
exponentiate.cpp:6:5: note: declared here
6 | int oper(int e,int x,int m) {
| ^~~~
exponentiate.cpp:10:41: error: too few arguments to function ‘long long int oper(long long int, long long int, long long int)’
10 | return (oper(e,x/2) * oper(e,x/2)) % m;
| ^
exponentiate.cpp:6:5: note: declared here
6 | int oper(int e,int x,int m) {
| ^~~~
exponentiate.cpp:12:31: error: too few arguments to function ‘long long int oper(long long int, long long int, long long int)’
12 | return (oper(e,(x-1)/2) * oper(e,(x-1)/2) * e) % m;
|