stations.cpp: In function 'void dfs(int, bool)':
stations.cpp:15:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(!b) lb[s] = T; T++;
| ^~
stations.cpp:15:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
15 | if(!b) lb[s] = T; T++;
| ^
stations.cpp:17:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
17 | if(b) lb[s] = T; T++;
| ^~
stations.cpp:17:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | if(b) lb[s] = T; T++;
| ^
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:40:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if(m == c.size()){ //s apertura, le altre sono tutte chiusure
| ~~^~~~~~~~~~~
stations.cpp:44:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int i=0; i<c.size(); ++i) if(c[i] >= t) return c[i];
| ~^~~~~~~~~