Problem eatingparallelograms
User ye
Submission Time 2025-06-20 13:45:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from eatingparallelograms.cpp:1:
/usr/include/c++/9/bits/stl_queue.h: In instantiation of ‘class std::priority_queue<int, std::pair<int, int>, std::greater<int> >’:
eatingparallelograms.cpp:9:54: required from here
/usr/include/c++/9/bits/stl_queue.h:460:8: error: no type named ‘value_type’ in ‘struct std::pair<int, int>’
460 | using _Uses = typename
| ^~~~~
/usr/include/c++/9/bits/stl_queue.h:473:47: error: no type named ‘value_type’ in ‘struct std::pair<int, int>’
473 | typedef typename _Sequence::value_type value_type;
| ^~~~~~~~~~
/usr/include/c++/9/bits/stl_queue.h:474:46: error: no type named ‘reference’ in ‘struct std::pair<int, int>’
474 | typedef typename _Sequence::reference re