dreaming.cpp: In constructor 'WTree::WTree(std::vector<std::vector<std::pair<int, int> > >, ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
61 | REP(i,0,N) {REP(j,0,adj[i].size()) {farthest_dir[i].pb(0);}}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:61:21: note: in expansion of macro 'REP'
61 | REP(i,0,N) {REP(j,0,adj[i].size()) {farthest_dir[i].pb(0);}}
| ^~~
dreaming.cpp: In member function 'void WTree::DFS_Build(ll, ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
73 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:73:9: note: in expansion of macro 'REP'
73 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void WTree::DFS_distance(ll, ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
84 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:84:9: note: in expansion of macro 'REP'
84 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void WTree::Calc_farthest_down(ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
113 | REP(i,0,sons[s].size()) {Calc_farthest_down(sons[s][i].ff);}
| ~~~~~~~~~~~~~~~~~~
dreaming.cpp:113:9: note: in expansion of macro 'REP'
113 | REP(i,0,sons[s].size()) {Calc_farthest_down(sons[s][i].ff);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
114 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:114:9: note: in expansion of macro 'REP'
114 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void WTree::Calc_farthest_up(ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
126 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:126:9: note: in expansion of macro 'REP'
126 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
131 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:131:9: note: in expansion of macro 'REP'
131 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
137 | REP(j,0,adj[c].size()) {if(adj[c][j].ff==s) {farthest_dir[c][j]=farthest_up[c];}}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:137:13: note: in expansion of macro 'REP'
137 | REP(j,0,adj[c].size()) {if(adj[c][j].ff==s) {farthest_dir[c][j]=farthest_up[c];}}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
139 | REP(i,0,sons[s].size()) {Calc_farthest_up(sons[s][i].ff);}
| ~~~~~~~~~~~~~~~~~~
dreaming.cpp:139:9: note: in expansion of macro 'REP'
139 | REP(i,0,sons[s].size()) {Calc_farthest_up(sons[s][i].ff);}
| ^~~
dreaming.cpp: In member function 'void WG::DFS(ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
186 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:186:9: note: in expansion of macro 'REP'
186 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'std::vector<WTree> WG::CCG()':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
215 | REP(cc,0,CC.size())
| ~~~~~~~~~~~~~~
dreaming.cpp:215:9: note: in expansion of macro 'REP'
215 | REP(cc,0,CC.size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
226 | REP(j,0,adj[a].size()) {b=adj[a][j].ff; ad[i].pb({m[b],adj[a][j].ss});}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:226:17: note: in expansion of macro 'REP'
226 | REP(j,0,adj[a].size()) {b=adj[a][j].ff; ad[i].pb({m[b],adj[a][j].ss});}
| ^~~
dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<WTree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
246 | REP(i,0,F.size()) {F[i].Calc_Diametre(); ans=max(ans,F[i].diametre.ff);}
| ~~~~~~~~~~~~
dreaming.cpp:246:2: note: in expansion of macro 'REP'
246 | REP(i,0,F.size()) {F[i].Calc_Diametre(); ans=max(ans,F[i].diametre.ff);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<WTree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
247 | vector<ll> R; REP(i,0,F.size()) {R.pb(F[i].Radius().ss);}
| ~~~~~~~~~~~~
dreaming.cpp:247:16: note: in expansion of macro 'REP'
247 | vector<ll> R; REP(i,0,F.size()) {R.pb(F[i].Radius().ss);}
| ^~~
dreaming.cpp:237:6: warning: unused variable 'a' [-Wunused-variable]
237 | int a;
| ^