记录详情

Compile Error

/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]
 }
 ^

信息

递交者
类型
递交
题目
lxhgww的奇思妙想
语言
C++
递交时间
2019-08-16 21:40:38
评测时间
2019-08-16 21:40:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes