Problem helloworld
User Elnathan
Submission Time 2023-02-13 21:24:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:10: error: wrong number of template arguments (0, should be at least 1)
4 | vector <> thing (2147483647);
| ^
In file included from /usr/include/c++/9/vector:67,
from helloworld.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: provided for ‘template<class _Tp, class _Alloc> class std::vector’
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~