kyoto.cpp: In function 'int main()':
kyoto.cpp:105:10: warning: structured binding declaration set but not used [-Wunused-but-set-variable]
105 | auto [Ax, Ay] = linii.heap.begin() -> first;
| ^~~~~~~~
kyoto.cpp:106:10: warning: structured binding declaration set but not used [-Wunused-but-set-variable]
106 | auto [Bx, By] = coloane.heap.begin() -> first;
| ^~~~~~~~
In file included from /usr/include/c++/10/map:60,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:81,
from kyoto.cpp:1:
/usr/include/c++/10/bits/stl_tree.h: In instantiation of 'std::_Rb_tree_key_compare<_Key_compare>::_Rb_tree_key_compare() [with _Key_compare = <lambda(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)>]':
/usr/include/c++/10/bits/stl_tree.h:688:22: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >::_Rb_tree_impl() [with _Key_compare = <lambda(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)>; bool <anonymous> = false; _Key = std::pair<std::pair<int, int>, int>; _Val = std::pair<std::pair<int, int>, int>; _KeyOfValue = std::_Identity<std::pair<std::pair<int, int>, int> >; _Compare = <lambda(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)>; _Alloc = std::allocator<std::pair<std::pair<int, int>, int> >]'
/usr/include/c++/10/bits/stl_tree.h:935:7: required from here
/usr/include/c++/10/bits/stl_tree.h:149:24: error: use of deleted function '<lambda(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)>::<lambda>()'
149 | : _M_key_compare()
| ^
kyoto.cpp:17:28: note: a lambda closure type has a deleted default constructor
17 | auto convoluted_cmpfrac = [](pair<pii,int> a, pair<pii,int> b) -> bool { return compare_frac(a.first, b.first); };
| ^