Problem adjlist
User ultbiaslia
Submission Time 2023-11-16 09:34:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp:1:1: error: ‘include’ does not name a type
1 | include <stdio.h>
| ^~~~~~~
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:8:1: error: ‘vector’ was not declared in this scope
8 | vector<int> g[10000];
| ^~~~~~
adjlist.cpp:8:1: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from adjlist.cpp:5:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from adjlist.cpp:5:
/usr/include/c++/9/vector:90:13: note: ‘std::pmr::vector’
90 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
adjlist.cpp:8:8: error: expected primary-expression before ‘int’
8 | vector<int> g[10000];
| ^~~
adjlist.cpp:10:1: error: ‘cin’ was not declared in this