/in/foo.cc: In function 'bool check(int, int, const std::vector<int>&)':
/in/foo.cc:28:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
28 | if(! vis[y])
| ^~
/in/foo.cc:29:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
29 | return 0;
| ^
/in/foo.cc:29:22: error: expected '}' at end of input
/in/foo.cc:23:50: note: to match this '{'
23 | bool check(int x, int n, const vector<int> &vec) {
| ^
/in/foo.cc:29:22: warning: control reaches end of non-void function [-Wreturn-type]
29 | return 0;
| ^