Problem contestcalc
User vera
Submission Time 2026-03-07 10:51:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

contestcalc.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> N;
| ^~~
contestcalc.cpp:6:2: error: ‘unordred_map’ was not declared in this scope
6 | unordred_map<string ,int>score;
| ^~~~~~~~~~~~
contestcalc.cpp:6:15: error: ‘string’ was not declared in this scope
6 | unordred_map<string ,int>score;
| ^~~~~~
contestcalc.cpp:6:23: error: expected primary-expression before ‘int’
6 | unordred_map<string ,int>score;
| ^~~
contestcalc.cpp:8:9: error: expected ‘;’ before ‘name’
8 | string name;
| ^~~~~
| ;
contestcalc.cpp:10:10: error: ‘name’ was not declared in this scope
10 | cin >> name>> marks;
|