tracks.cpp: In function 'int main()':
tracks.cpp:16:20: error: no matching function for call to 'std::deque<std::pair<int, int> >::push_back(std::vector<int>&)'
16 | q.push_back(first);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from tracks.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<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:35: note: no known conversion for argument 1 from 'std::vector<int>' to 'const value_type&' {aka 'const std::pair<int, int>&'}
1569 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/bits/stl_deque.h:1584:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1584 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1584:30: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::deque<std::pair<int, int> >::value_type&&' {aka 'std::pair<int, int>&&'}
1584 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
tracks.cpp:27:25: error: no matching function for call to 'std::deque<std::pair<int, int> >::push_front(std::vector<int>&)'
27 | q.push_front(add);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from tracks.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1532:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_front(const value_type&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1532 | push_front(const value_type& __x)
| ^~~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1532:36: note: no known conversion for argument 1 from 'std::vector<int>' to 'const value_type&' {aka 'const std::pair<int, int>&'}
1532 | push_front(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/bits/stl_deque.h:1547:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_front(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1547 | push_front(value_type&& __x)
| ^~~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1547:31: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::deque<std::pair<int, int> >::value_type&&' {aka 'std::pair<int, int>&&'}
1547 | push_front(value_type&& __x)
| ~~~~~~~~~~~~~^~~
tracks.cpp:30:24: error: no matching function for call to 'std::deque<std::pair<int, int> >::push_back(std::vector<int>&)'
30 | q.push_back(add);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from tracks.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<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:35: note: no known conversion for argument 1 from 'std::vector<int>' to 'const value_type&' {aka 'const std::pair<int, int>&'}
1569 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/bits/stl_deque.h:1584:7: note: candidate: 'void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1584 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1584:30: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::deque<std::pair<int, int> >::value_type&&' {aka 'std::pair<int, int>&&'}
1584 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~