Problem contestcalc
User ATHY
Submission Time 2024-06-17 16:40:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:8:2: error: expected initializer before ‘for’
8 | for (int i=0; i<N; i++) {
| ^~~
contestcalc.cpp:8:16: error: ‘i’ was not declared in this scope
8 | for (int i=0; i<N; i++) {
| ^
contestcalc.cpp:21:23: error: ‘m’ was not declared in this scope
21 | counter = counter + m[name2];
| ^