Problem | queuecutting |
---|---|
User | Biologyhater123 |
Submission Time | 2025-07-15 14:26:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
queuecutting.cpp: In function ‘int32_t main()’:
queuecutting.cpp:16:35: error: ‘int_max’ was not declared in this scope
16 | dq.push_back({y , int_max});
| ^~~~~~~
queuecutting.cpp:16:43: error: no matching function for call to ‘std::deque<std::pair<long long int, long long int> >::push_back(<brace-enclosed initializer list>)’
16 | dq.push_back({y , int_max});
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from queuecutting.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1569:7: note: candidate: ‘void std::deque<_Tp, _Alloc>::push_back(const value_type&) [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