/in/foo.cc: In function 'void read()':
/in/foo.cc:59:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(tmp)k++; k<<=1;
    ^~
/in/foo.cc:59:16: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(tmp)k++; k<<=1;
                ^
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:76:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if((edge[it].keycode & srch.key) != edge[it].keycode || vis[fnd] && (srch.key & lstkey[fnd]) == srch.key)continue;
                                                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~