meetings.cpp:22:10: error: #include expects "FILENAME" or <FILENAME>
22 | #include meetings.h
| ^~~~~~~~
meetings.cpp: In function 'void findpath(std::vector<int>)':
meetings.cpp:8:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | #define f(i,a,b) for(int i=a;i<b;i++)
......
38 | f(i,2,p.size()){
| ~~~~~~~~~~~~
meetings.cpp:38:2: note: in expansion of macro 'f'
38 | f(i,2,p.size()){
| ^
meetings.cpp:41:6: error: 'Query' was not declared in this scope
41 | if(Query(u,res[0],res[1])==res[0]){
| ^~~~~
meetings.cpp:8:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | #define f(i,a,b) for(int i=a;i<b;i++)
......
53 | f(i,0,res.size()){
| ~~~~~~~~~~~~~~
meetings.cpp:53:3: note: in expansion of macro 'f'
53 | f(i,0,res.size()){
| ^
meetings.cpp:57:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | if(r==res.size()) pes.pb(u);
| ~^~~~~~~~~~~~
meetings.cpp:8:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | #define f(i,a,b) for(int i=a;i<b;i++)
......
60 | f(i,1,res.size()){
| ~~~~~~~~~~~~~~
meetings.cpp:60:2: note: in expansion of macro 'f'
60 | f(i,1,res.size()){
| ^
meetings.cpp:61:3: error: 'Bridge' was not declared in this scope
61 | Bridge(res[i],res[i-1]);
| ^~~~~~
meetings.cpp: In function 'void solve(std::vector<int>)':
meetings.cpp:75:9: error: 'Query' was not declared in this scope
75 | e.pb({Query(x,u,v),x});
| ^~~~~
meetings.cpp:75:24: error: no matching function for call to 'std::vector<std::pair<int, int> >::push_back(<brace-enclosed initializer list>)'
75 | e.pb({Query(x,u,v),x});
| ^
In file included from /usr/include/c++/10/vector:67,
from /usr/include/c++/10/queue:61,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from meetings.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:1187:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::value_type = std::pair<int, 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 std::pair<int, 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 = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::value_type = std::pair<int, 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<std::pair<int, int> >::value_type&&' {aka 'std::pair<int, int>&&'}
1203 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
meetings.cpp:8:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | #define f(i,a,b) for(int i=a;i<b;i++)
......
79 | f(i,0,e.size()){
| ~~~~~~~~~~~~
meetings.cpp:79:2: note: in expansion of macro 'f'
79 | f(i,0,e.size()){
| ^
meetings.cpp:81:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | if(i==e.size()-1 || e[i].F!=e[i+1].F){
| ~^~~~~~~~~~~~