Problem | lol |
---|---|
User | YEethui |
Submission Time | 2023-11-22 11:21:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lol.cpp: In function ‘int main()’:
lol.cpp:13:19: error: ‘vector’ was not declared in this scope
13 | int curL = 0; vector<int> stuff;
| ^~~~~~
lol.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;
lol.cpp:13:26: error: expected primary-expression before ‘int’
13 | int curL = 0; vector<int> stuff;
| ^~~
lol.cpp:16:13: error: ‘stuff’ was not declared in this scope
16 | stuff.push_back(curL);
| ^~~~~
lol.cpp:22:17: error: ‘stuff’ was not declared in this scope
22 | for(int i : stuff){
| ^~~~~