dreaming.cpp: In constructor 'Graph::Graph()':
dreaming.cpp:56:17: warning: unused variable 'N' [-Wunused-variable]
56 | Graph() {ll N=0LL;}
| ^
dreaming.cpp: In member function 'void Graph::DFS(ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
74 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:74:9: note: in expansion of macro 'REP'
74 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In constructor 'Tree::Tree(std::vector<std::vector<long long int> >, ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long 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,N) {REP(j,0,adj[i].size()) {farthest_dir[i].pb(0);}}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:126:21: note: in expansion of macro 'REP'
126 | REP(i,0,N) {REP(j,0,adj[i].size()) {farthest_dir[i].pb(0);}}
| ^~~
dreaming.cpp: In member function 'void Tree::DFS_Build(ll, ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long 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,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:139:9: note: in expansion of macro 'REP'
139 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void Tree::DFS_distance(ll, ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
151 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:151:9: note: in expansion of macro 'REP'
151 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void Tree::Calc_farthest_down(ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
181 | REP(i,0,sons[s].size()) {Calc_farthest_down(sons[s][i]);}
| ~~~~~~~~~~~~~~~~~~
dreaming.cpp:181:9: note: in expansion of macro 'REP'
181 | REP(i,0,sons[s].size()) {Calc_farthest_down(sons[s][i]);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
182 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:182:9: note: in expansion of macro 'REP'
182 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void Tree::Calc_farthest_up(ll)':
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
194 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:194:9: note: in expansion of macro 'REP'
194 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
199 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:199:9: note: in expansion of macro 'REP'
199 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
205 | REP(j,0,adj[c].size()) {if(adj[c][j]==s) {farthest_dir[c][j]=farthest_up[c];}}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:205:13: note: in expansion of macro 'REP'
205 | REP(j,0,adj[c].size()) {if(adj[c][j]==s) {farthest_dir[c][j]=farthest_up[c];}}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
207 | REP(i,0,sons[s].size()) {Calc_farthest_up(sons[s][i]);}
| ~~~~~~~~~~~~~~~~~~
dreaming.cpp:207:9: note: in expansion of macro 'REP'
207 | REP(i,0,sons[s].size()) {Calc_farthest_up(sons[s][i]);}
| ^~~
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 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
237 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:237:9: note: in expansion of macro 'REP'
237 | REP(i,0,adj[s].size())
| ^~~
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 'long long int'} and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
276 | REP(i,0,H.size())
| ~~~~~~~~~~~~
dreaming.cpp:276:5: note: in expansion of macro 'REP'
276 | REP(i,0,H.size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
278 | vector<vector<pl> > ad; vector<pl> xxx; REP(j,0,H[i].size()) {ad.pb(xxx);}
| ~~~~~~~~~~~~~~~
dreaming.cpp:278:49: note: in expansion of macro 'REP'
278 | vector<vector<pl> > ad; vector<pl> xxx; REP(j,0,H[i].size()) {ad.pb(xxx);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
279 | unordered_map<ll,ll> t; REP(j,0,H[i].size()) {t[H[i][j]]=j;}
| ~~~~~~~~~~~~~~~
dreaming.cpp:279:33: note: in expansion of macro 'REP'
279 | unordered_map<ll,ll> t; REP(j,0,H[i].size()) {t[H[i][j]]=j;}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
280 | REP(j,0,H[i].size())
| ~~~~~~~~~~~~~~~
dreaming.cpp:280:9: note: in expansion of macro 'REP'
280 | REP(j,0,H[i].size())
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
283 | REP(z,0,adj[c].size()) {ad[t[c]].pb(mp(t[adj[c][z]],w[mp(c,adj[c][z])]));}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:283:13: note: in expansion of macro 'REP'
283 | REP(z,0,adj[c].size()) {ad[t[c]].pb(mp(t[adj[c][z]],w[mp(c,adj[c][z])]));}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<Tree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
292 | REP(i,0,F.size()) {F[i].Calc_Diametre(); d.pb(F[i].diametre.ff);}
| ~~~~~~~~~~~~
dreaming.cpp:292:5: note: in expansion of macro 'REP'
292 | REP(i,0,F.size()) {F[i].Calc_Diametre(); d.pb(F[i].diametre.ff);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<Tree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
294 | REP(i,0,F.size()) {F[i].Calc_farthest_down(F[i].root);}
| ~~~~~~~~~~~~
dreaming.cpp:294:5: note: in expansion of macro 'REP'
294 | REP(i,0,F.size()) {F[i].Calc_farthest_down(F[i].root);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<Tree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
295 | REP(i,0,F.size()) {F[i].Calc_farthest_up(F[i].root);}
| ~~~~~~~~~~~~
dreaming.cpp:295:5: note: in expansion of macro 'REP'
295 | REP(i,0,F.size()) {F[i].Calc_farthest_up(F[i].root);}
| ^~~
dreaming.cpp:21:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<Tree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
296 | REP(i,0,F.size()) {F[i].Calc_farthest(); inner.pb(*min_element(whole(F[i].farthest)));}
| ~~~~~~~~~~~~
dreaming.cpp:296:5: note: in expansion of macro 'REP'
296 | REP(i,0,F.size()) {F[i].Calc_farthest(); inner.pb(*min_element(whole(F[i].farthest)));}
| ^~~