Problem | deforestation |
---|---|
User | ChronoVortex |
Submission Time | 2023-11-27 17:47:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
deforestation.cpp: In function ‘int main()’:
deforestation.cpp:5:2: error: ‘vector’ was not declared in this scope
5 | vector<long long> T1, T2;
| ^~~~~~
deforestation.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
deforestation.cpp:5:9: error: expected primary-expression before ‘long’
5 | vector<long long> T1, T2;
| ^~~~
deforestation.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> N;
| ^~~
deforestation.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
deforestation.cpp:10:3: error: ‘T1’ was not declared in this scope; did you mean ‘TL’?
10 | T1.push_back(A);
| ^~
| TL
deforestat