Problem | contestcalc |
---|---|
User | limmingyao21 |
Submission Time | 2023-03-25 18:55:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
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:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++. h
contestcalc.cpp:7:5: error: ‘map’ was not declared in this scope
7 | map<string, int> m;
| ^~~
contestcalc.cpp:1:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’?
+++ |+#include <map>
1 | #include bits/stdc++. h
contestcalc.cpp:7:9: error: ‘string’ was not declared in this scope
7 | map<string, int> m;
| ^~~~~~
contestcalc.cpp:1:1: note: ‘