Problem airplane
User daniel
Submission Time 2025-04-19 01:05:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/map:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from airplane.cpp:1:
/usr/include/c++/9/bits/stl_map.h: In instantiation of β€˜std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>; _Tp = long long int; _Compare = pair_hash; _Alloc = std::allocator<std::pair<const std::pair<int, int>, long long int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = long long int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’:
airplane.cpp:35:25: required from here
/usr/include/c++/9/bits/stl_map.h:497:32: error: no match for call to β€˜(std::map<std::pair<int, int>, long long int, pair_hash>::key_compare {aka pair_hash}) (const key_type&, const std::pair<int, int>&)’
497 | if (__i == end() ||