Problem hedgehogcrimes_easy
User emyz
Submission Time 2024-12-23 11:46:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hedgehogcrimes_easy.cpp: In function ‘int expo(int, int)’:
hedgehogcrimes_easy.cpp:20:45: error: too many arguments to function ‘int expo(int, int)’
20 | if (b % 2 == 1) return (expo(a, b-1, mod) * a)%mod;
| ^
hedgehogcrimes_easy.cpp:18:5: note: declared here
18 | int expo(int a, int b){
| ^~~~
hedgehogcrimes_easy.cpp:21:32: error: too many arguments to function ‘int expo(int, int)’
21 | int save = expo(a, b/2, mod);
| ^
hedgehogcrimes_easy.cpp:18:5: note: declared here
18 | int expo(int a, int b){
| ^~~~