Problem pandaeyes
User Sheb
Submission Time 2025-04-02 17:59:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pandaeyes.cpp: In function ‘int main()’:
pandaeyes.cpp:25:32: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::const_reference std::deque<_Tp, _Alloc>::front() const [with _Tp = std::pair<long long int, long long int>; _Alloc = std::allocator<std::pair<long long int, long long int> >; std::deque<_Tp, _Alloc>::const_reference = const std::pair<long long int, long long int>&]’ (did you forget the ‘()’ ?)
25 | if ((*v).first < A.front.first) {
| ~~^~~~~
| ()
pandaeyes.cpp:25:38: error: expected ‘)’ before ‘first’
25 | if ((*v).first < A.front.first) {
| ~ ^~~~~
| )