Problem contestcalc
User limmingyao21
Submission Time 2023-03-25 18:57: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 <bits/stdc++. h>
| ^~~~~~~
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:6:12: error: ‘cin’ was not declared in this scope
6 | int n; cin >> n;
| ^~~
contestcalc.cpp:7:5: error: ‘map’ was not declared in this scope
7 | map<string, int> m;
| ^~~
contestcalc.cpp:7:9: error: ‘string’ was not declared in this scope
7 | map<string, int> m;
| ^~~~~~
contestcalc.cpp:7:17: error: expected primary-expression before ‘int’
7 | map<string, int> m;
| ^~~
contestcalc.cpp:10:15: error: expected ‘;’ before ‘s’
10 | string s; cin >> s;
| ^~
| ;
contestcalc.cpp:10:26: error: ‘s’ was not declared in this scope
10 | string s; cin >> s;
|