Problem | procrastination |
---|---|
User | Avinash |
Submission Time | 2025-06-18 10:17:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
procrastination.cpp: In function ‘int main()’:
procrastination.cpp:19:33: error: no matching function for call to ‘std::deque<std::pair<long long int, long long int> >::push_back(long long int&, long long int&)’
19 | tasks.push_back(T, V);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from procrastination.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>::value_type = std::pair<long long int, long long int>]’
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:7: note: candidate