commuter_pass.cpp: In function 'int main()':
commuter_pass.cpp:3:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
3 | #define rep(i,a,n) for (int i=a;i<n;i++)
| ^~~
commuter_pass.cpp:73:2: note: in expansion of macro 'rep'
73 | rep(i,1,n+1) dp[i]=-1; dfs(s,1);
| ^~~
commuter_pass.cpp:73:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
73 | rep(i,1,n+1) dp[i]=-1; dfs(s,1);
| ^~~
commuter_pass.cpp:3:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
3 | #define rep(i,a,n) for (int i=a;i<n;i++)
| ^~~
commuter_pass.cpp:74:2: note: in expansion of macro 'rep'
74 | rep(i,1,n+1) dp[i]=-1; dfs(t,0);
| ^~~
commuter_pass.cpp:74:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
74 | rep(i,1,n+1) dp[i]=-1; dfs(t,0);
| ^~~
commuter_pass.cpp:61:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | scanf("%d%d%d%d%d%d",&n,&m,&s,&t,&u,&v);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
commuter_pass.cpp:64:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
64 | scanf("%d%d%d",&x,&y,&w);
| ~~~~~^~~~~~~~~~~~~~~~~~~