/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int, int, int, int, int)':
/in/foo.cc:17:6: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(a==0&b==0&&c==0)
     ~^~~
/in/foo.cc:28:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(x>n) x=n;
  ^~
/in/foo.cc:29:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   dfs(e[x].a-e[nowlast].a,b+e[x].b-e[nowlast].b,c+e[x].c-e[nowlast].c,x,deep+1);
   ^~~
/in/foo.cc:35:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(x>n) x=n;
  ^~
/in/foo.cc:36:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   dfs(a+e[x].a-e[nowlast].a,e[x].b-e[nowlast].b,c+e[x].c-e[nowlast].c,x,deep+1);
   ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 6ms 11.688 MiB
#2 Wrong Answer 6ms 11.691 MiB
#3 Wrong Answer 5ms 11.684 MiB
#4 Wrong Answer 5ms 11.68 MiB
#5 Wrong Answer 5ms 11.703 MiB
#6 Wrong Answer 5ms 11.68 MiB
#7 Wrong Answer 5ms 11.688 MiB
#8 Wrong Answer 5ms 11.699 MiB
#9 Wrong Answer 5ms 11.688 MiB
#10 Wrong Answer 5ms 11.676 MiB

信息

递交者
类型
递交
题目
P1323 化工厂装箱员
语言
C++
递交时间
2018-11-06 17:17:26
评测时间
2018-11-06 17:17:26
评测机
分数
0
总耗时
59ms
峰值内存
11.703 MiB