/in/foo.cc: In function 'int query(int, int)':
/in/foo.cc:44:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (dep[x]<k) return 0;if (!k) return x;
^~
/in/foo.cc:44:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (dep[x]<k) return 0;if (!k) return x;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:84:2: error: 'Q' was not declared in this scope
Q=read();int ans=0;
^
/in/foo.cc: In function 'int query(int, int)':
/in/foo.cc:50:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^