Problem grassplant
User PlayVoltz
Submission Time 2023-10-05 16:40:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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