Problem explosion
User samvar0907
Submission Time 2024-01-04 00:20:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

explosion.cpp: In instantiation of ‘main()::<lambda(const auto:22&, const auto:23&)> [with auto:22 = std::pair<int, int>; auto:23 = std::pair<int, int>]’:
/usr/include/c++/9/bits/predefined_ops.h:143:18: required from ‘constexpr bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >; _Iterator2 = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >; _Compare = main()::<lambda(const auto:22&, const auto:23&)>]’
/usr/include/c++/9/bits/stl_algo.h:81:17: required from ‘void std::__move_median_to_first(_Iterator, _Iterator, _Iterator, _Iterator, _Compare) [with _Iterator = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()