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