Problem | traineeline |
---|---|
User | asbx |
Submission Time | 2023-12-13 11:39:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
traineeline.cpp: In function ‘int main()’:
traineeline.cpp:22:13: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::const_reference std::deque<_Tp, _Alloc>::front() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::const_reference = const std::pair<int, int>&]’ (did you forget the ‘()’ ?)
22 | if(a<=b.front.first){
| ~~^~~~~
| ()
traineeline.cpp:22:19: error: expected ‘)’ before ‘first’
22 | if(a<=b.front.first){
| ~ ^~~~~
| )
traineeline.cpp:23:8: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::const_reference std::deque<_Tp, _Alloc>::front() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::const_reference = const std::pair<i