0_0_38780075_23860.cpp:7:1: error: missing template argument list after 'std::vector'; for deduction, template placeholder must be followed by a simple declarator-id
7 | vector v[N];
| ^~~~~~
| <>
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/vector:66,
from 0_0_38780075_23860.cpp:3:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_vector.h:423:11: note: 'template<class _Tp, class _Alloc> class std::vector' declared here
423 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
0_0_38780075_23860.cpp: In function 'bool Dfs(int)':
0_0_38780075_23860.cpp:9:19: error: 'v' was not declared in this scope
9 | for(int i=0;i<v[k].size();i++){
| ^
0_0_38780075_23860.cpp: In function 'int main()':
0_0_38780075_23860.cpp:22:27: error: 'v' was not declared in this scope
22 | for(i=0;i<n+m;i++)v[i].clear();
| ^
0_0_38780075_23860.cpp:26:17: error: 'v' was not declared in this scope
26 | v[a].push_back(b+n);
| ^
|