jobs.cpp: In function 'int32_t main()':
jobs.cpp:53:29: error: no matching function for call to 'std::vector<int>::push_back(<brace-enclosed initializer list>)'
53 | v.push_back({x, i+1});
| ^
In file included from /usr/include/c++/10/vector:67,
from /usr/include/c++/10/functional:62,
from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from jobs.cpp:4:
/usr/include/c++/10/bits/stl_vector.h:1187:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::value_type = int]'
1187 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1187:35: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const int&'}
1187 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_vector.h:1203:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::value_type = int]'
1203 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1203:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<int>::value_type&&' {aka 'int&&'}
1203 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:71:53: note: in expansion of macro 'F'
71 | for(int i = 0; i < mid; i++) fila.push(v[i].F+1);
| ^
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:76:25: note: in expansion of macro 'F'
76 | if(aux-v[i].F > d){
| ^
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:80:40: note: in expansion of macro 'F'
80 | fila.push(max(aux,v[i].F)+1);
| ^
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:95:24: note: in expansion of macro 'F'
95 | fila.push(v[i].F+1);
| ^
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:96:19: note: in expansion of macro 'F'
96 | resp[v[i].F].push_back(v[i].S);
| ^
jobs.cpp:8:11: error: request for member 'second' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
8 | #define S second
| ^~~~~~
jobs.cpp:96:37: note: in expansion of macro 'S'
96 | resp[v[i].F].push_back(v[i].S);
| ^
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:103:32: note: in expansion of macro 'F'
103 | fila.push(max(aux,v[i].F)+1);
| ^
jobs.cpp:7:11: error: request for member 'first' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
7 | #define F first
| ^~~~~
jobs.cpp:105:27: note: in expansion of macro 'F'
105 | resp[max(aux,v[i].F)].push_back(v[i].S);
| ^
jobs.cpp:8:11: error: request for member 'second' in 'v.std::vector<int>::operator[](((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
8 | #define S second
| ^~~~~~
jobs.cpp:105:46: note: in expansion of macro 'S'
105 | resp[max(aux,v[i].F)].push_back(v[i].S);
| ^
jobs.cpp:111:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | for(int j = 0; j < resp[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~