Problem | bestplace |
---|---|
User | Denzio321 |
Submission Time | 2023-03-16 16:30:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bestplace.cpp: In function ‘int main()’:
bestplace.cpp:13:9: error: ‘vector’ was not declared in this scope
13 | vector<pair<float,float>> co;
| ^~~~~~
bestplace.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include<cmath>
+++ |+#include <vector>
2 | using namespace std;
bestplace.cpp:13:32: error: expected primary-expression before ‘>’ token
13 | vector<pair<float,float>> co;
| ^~
bestplace.cpp:13:35: error: ‘co’ was not declared in this scope; did you mean ‘cos’?
13 | vector<pair<float,float>> co;
| ^~
| cos
bestplace.cpp:16:9: error: ‘cin’ was not declared in this scope
16 | cin >> n;
| ^~~
bestplace.cpp:2:1