Problem contestcalc
User yongteckrice
Submission Time 2024-02-24 10:49:55
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 <bits/stdc++.h>
| ^~~~~~~
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:11:5: error: ‘map’ was not declared in this scope
11 | map<string,int> scores;
| ^~~
contestcalc.cpp:11:9: error: ‘string’ was not declared in this scope
11 | map<string,int> scores;
| ^~~~~~
contestcalc.cpp:11:16: error: expected primary-expression before ‘int’
11 | map<string,int> scores;
| ^~~
contestcalc.cpp:15:2: error: ‘cin’ was not declared in this scope
15 | cin >> N;
| ^~~
contestcalc.cpp:23:15: error: expected ‘;’ before ‘a’
23 | string a;
| ^~
| ;
contestcalc.cpp:27:16: error: ‘a’ was not declared in this scope
27 | cin >> a >> b;
| ^
contestcalc