stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:4:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
4 | #define forn(i,n) for(int i=0;i<n;++i)
| ^~~
stations.cpp:25:2: note: in expansion of macro 'forn'
25 | forn(i,n) adj[i].clear(); nxt=0;
| ^~~~
stations.cpp:25:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
25 | forn(i,n) adj[i].clear(); nxt=0;
| ^~~
stations.cpp:4:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
4 | #define forn(i,n) for(int i=0;i<n;++i)
| ^~~
stations.cpp:45:2: note: in expansion of macro 'forn'
45 | forn(i,n) cout<<ans[i]<<' '; cout<<'\n';
| ^~~~
stations.cpp:45:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
45 | forn(i,n) cout<<ans[i]<<' '; cout<<'\n';
| ^~~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:61:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (int i=1; i<adj.size()-1; ++i) {
| ~^~~~~~~~~~~~~
stations.cpp:73:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for (int i=1; i<adj.size()-1; ++i) {
| ~^~~~~~~~~~~~~