Problem | exponentiate |
---|---|
User | GYEE26 |
Submission Time | 2024-09-21 20:30:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘int’
5 | int qexp(int B, int E) {// quick exponentiation runs in O(log E) time complexity
| ^~~
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:28:17: error: ‘qexp’ was not declared in this scope; did you mean ‘exp’?
28 | cout << qexp(B,E,M) << "\n";
| ^~~~
| exp