Problem | modulochain |
---|---|
User | apxy36 |
Submission Time | 2023-11-08 15:19:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
modulochain.cpp: In function ‘int32_t main()’:
modulochain.cpp:13:5: error: expected initializer before ‘for’
13 | for (int i = 0; i < n; i++){
| ^~~
modulochain.cpp:13:21: error: ‘i’ was not declared in this scope
13 | for (int i = 0; i < n; i++){
| ^
modulochain.cpp:19:25: error: ‘v’ was not declared in this scope
19 | for (int i = 0; i < v.size(); i++){
| ^
modulochain.cpp:23:19: error: ‘v’ was not declared in this scope
23 | int product = v[0] * v[n-1];
| ^