foo.cc: In function 'int find_kth_fa(int, int)':
foo.cc:43:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
43 | if(k>d[x])return 0;if(k==0)return x;
| ^~
foo.cc:43:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
43 | if(k>d[x])return 0;if(k==0)return x;
| ^~
foo.cc: In function 'int main()':
foo.cc:70:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
70 | int q;scanf("%d",&q);
| ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务