dreaming.cpp:1: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
1 | #pragma GCC optimization ("O3")
|
dreaming.cpp:2: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
2 | #pragma GCC optimization ("unroll-loops")
|
dreaming.cpp: In constructor 'WTree::WTree(std::vector<std::vector<std::pair<int, int> > >, ll)':
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
64 | REP(i,0,N) {REP(j,0,adj[i].size()) {farthest_dir[i].pb(0);}}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:64:21: note: in expansion of macro 'REP'
64 | 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:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
76 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:76:9: note: in expansion of macro 'REP'
76 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void WTree::DFS_distance(ll, ll)':
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
87 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:87:9: note: in expansion of macro 'REP'
87 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void WTree::Calc_farthest_down(ll)':
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
116 | REP(i,0,sons[s].size()) {Calc_farthest_down(sons[s][i].ff);}
| ~~~~~~~~~~~~~~~~~~
dreaming.cpp:116:9: note: in expansion of macro 'REP'
116 | REP(i,0,sons[s].size()) {Calc_farthest_down(sons[s][i].ff);}
| ^~~
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
117 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:117:9: note: in expansion of macro 'REP'
117 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'void WTree::Calc_farthest_up(ll)':
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
129 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:129:9: note: in expansion of macro 'REP'
129 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
134 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:134:9: note: in expansion of macro 'REP'
134 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
140 | REP(j,0,adj[c].size()) {if(adj[c][j].ff==s) {farthest_dir[c][j]=farthest_up[c];}}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:140:13: note: in expansion of macro 'REP'
140 | REP(j,0,adj[c].size()) {if(adj[c][j].ff==s) {farthest_dir[c][j]=farthest_up[c];}}
| ^~~
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
142 | REP(i,0,sons[s].size()) {Calc_farthest_up(sons[s][i].ff);}
| ~~~~~~~~~~~~~~~~~~
dreaming.cpp:142:9: note: in expansion of macro 'REP'
142 | REP(i,0,sons[s].size()) {Calc_farthest_up(sons[s][i].ff);}
| ^~~
dreaming.cpp: In member function 'void WG::DFS(ll)':
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
189 | REP(i,0,adj[s].size())
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:189:9: note: in expansion of macro 'REP'
189 | REP(i,0,adj[s].size())
| ^~~
dreaming.cpp: In member function 'std::vector<WTree> WG::CCG()':
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
218 | REP(cc,0,CC.size())
| ~~~~~~~~~~~~~~
dreaming.cpp:218:9: note: in expansion of macro 'REP'
218 | REP(cc,0,CC.size())
| ^~~
dreaming.cpp:24: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]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
229 | REP(j,0,adj[a].size()) {b=adj[a][j].ff; ad[i].pb({m[b],adj[a][j].ss});}
| ~~~~~~~~~~~~~~~~~
dreaming.cpp:229:17: note: in expansion of macro 'REP'
229 | 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:24:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<WTree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
249 | REP(i,0,F.size()) {F[i].Calc_Diametre(); ans=max(ans,F[i].diametre.ff);}
| ~~~~~~~~~~~~
dreaming.cpp:249:2: note: in expansion of macro 'REP'
249 | REP(i,0,F.size()) {F[i].Calc_Diametre(); ans=max(ans,F[i].diametre.ff);}
| ^~~
dreaming.cpp:24:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<WTree>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
250 | vector<ll> R; REP(i,0,F.size()) {R.pb(F[i].Radius().ss);}
| ~~~~~~~~~~~~
dreaming.cpp:250:16: note: in expansion of macro 'REP'
250 | vector<ll> R; REP(i,0,F.size()) {R.pb(F[i].Radius().ss);}
| ^~~
dreaming.cpp:240:6: warning: unused variable 'a' [-Wunused-variable]
240 | int a;
| ^