Problem flamethrower_ex
User bz
Submission Time 2024-11-25 13:10:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower_ex.cpp: In function ‘int main()’:
flamethrower_ex.cpp:35:32: error: no matching function for call to ‘std::deque<std::pair<long long int, long long int> >::push_back(int)’
35 | deque<pll> d; d.push_back(0);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from flamethrower_ex.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:35: note: no known conversion for argumen