Problem | contestcalc |
---|---|
User | akqxolotl |
Submission Time | 2023-09-13 09:10:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:5:3: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
contestcalc.cpp:6:3: error: ‘cin’ was not declared in this scope
6 | cin.tie(0);
| ^~~
contestcalc.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
contestcalc.cpp:7:3: error: ‘vector’ was not declared in this scope
7 | vector<pair<string,int>> a;
| ^~~~~~
contestcalc.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
contestcalc.cpp:7:10: error: ‘pair’ was not declared in this scope
7 | vector<pair<string,int>> a;
| ^~~~
contestcalc.cpp:1:1: note: