| Problem | helloworld |
|---|---|
| User | jmuzhen |
| Submission Time | 2025-11-14 17:28:53 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:6:2: error: ‘vector’ was not declared in this scope
6 | vector<int>v = {0};
| ^~~~~~
helloworld.cpp:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
2 | #include<iostream>
+++ |+#include <vector>
3 | using namespace std;
helloworld.cpp:6:9: error: expected primary-expression before ‘int’
6 | vector<int>v = {0};
| ^~~
helloworld.cpp:9:3: error: ‘v’ was not declared in this scope
9 | v.erase(v.begin());
| ^