| Problem | lunchbox |
|---|---|
| User | BlueSpace |
| Submission Time | 2026-11-16 11:14:44 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:13:10: error: ‘x’ was not declared in this scope
13 | cin >> x;
| ^
lunchbox.cpp:21:14: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::const_iterator std::deque<_Tp, _Alloc>::begin() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::const_iterator = std::_Deque_iterator<long long int, const long long int&, const long long int*>]’ (did you forget the ‘()’ ?)
21 | sum += dq.begin;
| ~~~^~~~~
| ()