potion.cpp: In function 'void curseChanges(int, int*, int*)':
potion.cpp:30:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int j = 0; j < ix[i].size(); j++){
| ~~^~~~~~~~~~~~~~
potion.cpp: In function 'int question(int, int, int)':
potion.cpp:42:28: warning: variable 'lsz' set but not used [-Wunused-but-set-variable]
42 | int ans = 1e9, xb, yb, lsz, rsz;
| ^~~
potion.cpp:42:33: warning: variable 'rsz' set but not used [-Wunused-but-set-variable]
42 | int ans = 1e9, xb, yb, lsz, rsz;
| ^~~
In file included from /usr/include/c++/10/map:60,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:81,
from potion.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(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(int, int)>; bool <anonymous> = false; _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = <lambda(int, int)>; _Alloc = std::allocator<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(int, int)>::<lambda>()'
149 | : _M_key_compare()
| ^
potion.cpp:10:13: note: a lambda closure type has a deleted default constructor
10 | auto cmp = [](int a, int b){return h[a] < h[b];};
| ^