Problem airplane
User Hengweezy
Submission Time 2024-03-03 00:15:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from airplane.cpp:1:
/usr/include/c++/9/bits/stl_set.h: In instantiation of ‘std::set<_Key, _Compare, _Alloc>::set(_InputIterator, _InputIterator) [with _InputIterator = int; _Key = std::pair<int, int>; _Compare = std::less<std::pair<int, int> >; _Alloc = std::allocator<std::pair<int, int> >]’:
airplane.cpp:6:48: required from here
/usr/include/c++/9/bits/stl_set.h:193:4: error: no matching function for call to ‘std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int> >, std::less<std::pair<int, int> >, std::allocator<std::pair<int, int> > >::_M_insert_range_unique(int&, int&)’
193 | { _M_t._M_insert_range_unique(__first, __last); }
| ^~~~
In file included from /usr/include/c++/9/map:60,