Problem | exponentiate_ex |
---|---|
User | benchew23 |
Submission Time | 2023-03-22 17:08:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate_ex.cpp:4:13: error: expected initializer before ‘pw’
4 | unsigned ll pw(unsigned ll a, unsigned ll b, unsigned ll m) {
| ^~
exponentiate_ex.cpp: In function ‘int main()’:
exponentiate_ex.cpp:15:17: error: expected initializer before ‘n’
15 | unsigned ll n, a, b, m;
| ^
exponentiate_ex.cpp:16:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
16 | cin >> n;
| ^
| yn
exponentiate_ex.cpp:17:20: error: expected ‘;’ before ‘i’
17 | for(unsigned ll i=0;i<n;i++) {
| ^~
| ;
exponentiate_ex.cpp:17:21: error: ‘i’ was not declared in this scope
17 | for(unsigned ll i=0;i<n;i++) {
| ^
exponentiate_ex.cpp:17:28: error: expected ‘)’ before ‘;’ token
17 | for(unsigned ll i=0;i<n;i++) {
| ~