Problem helloworld
User cstuart
Submission Time 2023-03-03 20:08:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:4:1: error: ‘vector’ does not name a type
4 | vector <int> vec;
| ^~~~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:11:17: error: ‘vec’ was not declared in this scope
11 | vec.push_back(j);
| ^~~
helloworld.cpp:16:18: error: ‘vec’ was not declared in this scope
16 | std::cerr << vec.size();
| ^~~