Problem leftright
User R9q5P8
Submission Time 2026-11-05 10:50:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leftright.cpp: In function ‘int main()’:
leftright.cpp:23:19: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::deque<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
23 | if (r.size()>l.size) { l.push_back(r[0]); r.pop_front(); }
| ~~^~~~
| ()