foo.cc: In function 'int main()':
foo.cc:41:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
41 | if (vis[i]) break; vis[i] = true;
| ^~
foo.cc:41:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
41 | if (vis[i]) break; vis[i] = true;
| ^~~
foo.cc:55:14: warning: 'T_state' may be used uninitialized [-Wmaybe-uninitialized]
55 | else if (S_state == 1)
| ^~
foo.cc:43:40: note: 'T_state' was declared here
43 | int S = i, S_state = state[i], T_state, len = 0;
| ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务