Problem seagame
User PlayVoltz
Submission Time 2023-11-09 16:53:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

seagame.cpp: In function ‘int main()’:
seagame.cpp:60:12: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
60 | graph[a].pb(b);
| ^~
seagame.cpp:61:12: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
61 | graph[b].pb(a);
| ^~