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++)
......
29 | f(i,2,p.size()){
| ~~~~~~~~~~~~
meetings.cpp:29:2: note: in expansion of macro 'f'
29 | f(i,2,p.size()){
| ^
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++)
......
47 | f(i,0,res.size()){
| ~~~~~~~~~~~~~~
meetings.cpp:47:3: note: in expansion of macro 'f'
47 | f(i,0,res.size()){
| ^
meetings.cpp:51:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | 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++)
......
55 | f(i,1,res.size()){
| ~~~~~~~~~~~~~~
meetings.cpp:55:2: note: in expansion of macro 'f'
55 | f(i,1,res.size()){
| ^
meetings.cpp: In function 'void solve(std::vector<int>)':
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++)
......
74 | f(i,0,e.size()){
| ~~~~~~~~~~~~
meetings.cpp:74:2: note: in expansion of macro 'f'
74 | f(i,0,e.size()){
| ^
meetings.cpp:76: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]
76 | if(i==e.size()-1 || e[i].F!=e[i+1].F){
| ~^~~~~~~~~~~~