Problem | taskmanaging |
---|---|
User | god |
Submission Time | 2025-07-14 21:21:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
taskmanaging.cpp: In function ‘int main()’:
taskmanaging.cpp:9:2: error: ‘vector’ was not declared in this scope
9 | vector<int> array;
| ^~~~~~
taskmanaging.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>;
+++ |+#include <vector>
2 | using namespace std;
taskmanaging.cpp:9:9: error: expected primary-expression before ‘int’
9 | vector<int> array;
| ^~~
taskmanaging.cpp:15:4: error: ‘array’ was not declared in this scope
15 | array.push_back(y);
| ^~~~~
taskmanaging.cpp:2:1: note: ‘std::array’ is defined in header ‘<array>’; did you forget to ‘#include <array>’?
1 | #include <iostream>;
+++ |+#include <array>
2 | using namespace std;
taskmanaging.cpp:18:5: error: ‘array’ was not declared in this scope
18 | array[i] = 0;