Problem | exponentiate |
---|---|
User | asbx |
Submission Time | 2023-11-20 14:41:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘long long int e(long long int, long long int, long long int)’:
exponentiate.cpp:16:20: error: too few arguments to function ‘long long int e(long long int, long long int, long long int)’
16 | return n=(e(a,b/2)%m)*(e(a,b/2)%m);
| ^
exponentiate.cpp:6:11: note: declared here
6 | long long e(long long a, long long b, long long m){
| ^
exponentiate.cpp:16:33: error: too few arguments to function ‘long long int e(long long int, long long int, long long int)’
16 | return n=(e(a,b/2)%m)*(e(a,b/2)%m);
| ^
exponentiate.cpp:6:11: note: declared here
6 | long long e(long long a, long long b, long long m){
| ^
exponentiate.cpp:19:22: error: too few arguments to function ‘long long int e(long long int, long long int, long long int)’
19 | return n=a*(e(a,b-1)%m);
| ^
exponentiat