Problem | exponentiate |
---|---|
User | penguin1234 |
Submission Time | 2024-07-29 11:54:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp:4:1: error: expected initializer before ‘long’
4 | long long modular_exponentiation(long long a, long long b, long long m) {
| ^~~~
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:22:24: error: ‘modular_exponentiation’ was not declared in this scope
22 | long long result = modular_exponentiation(a, b, m);
| ^~~~~~~~~~~~~~~~~~~~~~