Problem shops
User Tracxr
Submission Time 2024-06-19 09:14:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shops.cpp: In function ‘int main()’:
shops.cpp:31:18: 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’
31 | graph[c.se.fi].pb(c.se.se);
| ^~
shops.cpp:32:18: 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’
32 | graph[c.se.se].pb(c.se.fi);
| ^~