Problem subgraphs
User acesuk168
Submission Time 2023-03-22 14:00:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:26:18: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long int> >, std::vector<long int> >::value_type’ {aka ‘class std::vector<long int>’} has no member named ‘__emplace_back’; did you mean ‘emplace_back’?
26 | graph[a].__emplace_back(b);
| ^~~~~~~~~~~~~~
| emplace_back
subgraphs.cpp:27:18: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long int> >, std::vector<long int> >::value_type’ {aka ‘class std::vector<long int>’} has no member named ‘__emplace_back’; did you mean ‘emplace_back’?
27 | graph[b].__emplace_back(a);
| ^~~~~~~~~~~~~~
| emplace_back