Problem exponentiate
User darius0
Submission Time 2024-12-23 09:51:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:13:9: error: stray ‘#’ in program
13 | return #include <bits/stdc++.h>
| ^
exponentiate.cpp: In function ‘long long int exp(long long int, long long int)’:
exponentiate.cpp:10:50: error: ‘m’ was not declared in this scope
10 | if(b%2==1) return arr[{a,b-1}] = (exp(a,b-1)*a)%m;
| ^
exponentiate.cpp:12:19: error: ‘m’ was not declared in this scope
12 | arr[{a,b/2}] = c%m;
| ^
exponentiate.cpp:13:10: error: ‘include’ was not declared in this scope
13 | return #include <bits/stdc++.h>
| ^~~~~~~
exponentiate.cpp:13:19: error: ‘bits’ was not declared in this scope
13 | return #include <bits/stdc++.h>
| ^~~~
exponentiate.cpp:13:24: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
13 | return #include <bits/stdc++.h>
|