Problem contestcalc
User yongteckrice
Submission Time 2024-02-24 10:50:35
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:10:5: error: ‘map’ was not declared in this scope
10 | map<string,int> scores;
| ^~~
contestcalc.cpp:10:9: error: ‘string’ was not declared in this scope
10 | map<string,int> scores;
| ^~~~~~
contestcalc.cpp:10:16: error: expected primary-expression before ‘int’
10 | map<string,int> scores;
| ^~~
contestcalc.cpp:11:2: error: ‘cin’ was not declared in this scope
11 | cin >> N;
| ^~~
contestcalc.cpp:16:15: error: expected ‘;’ before ‘a’
16 | string a;
| ^~
| ;
contestcalc.cpp:20:16: error: ‘a’ was not declared in this scope
20 | cin >> a >> b;
| ^
contestcalc