Problem exponentiate
User scape167
Submission Time 2024-01-08 14:55:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘ll half(ll, ll, ll)’:
exponentiate.cpp:7:27: error: too few arguments to function ‘ll half(ll, ll, ll)’
7 | ll k = half(a, b-1)
| ^
exponentiate.cpp:4:4: note: declared here
4 | ll half(ll a, ll b, ll m)
| ^~~~
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:26:17: error: expected ‘;’ before ‘}’ token
26 | half(a, b, m)
| ^
| ;
27 | }
| ~