/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void search(int)':
/in/foo.cc:14:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(lbound[now]==-1 || ans!=-1 && sum+lbound[now]>ans) return;
                        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void lowerbound()':
/in/foo.cc:31:24: warning: 'bestj' may be used uninitialized in this function [-Wmaybe-uninitialized]
 int ok[N],now,i,j,best,bestj;
                        ^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 256.0 KiB
#2 Wrong Answer 2ms 320.0 KiB
#3 Wrong Answer 3ms 256.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Wrong Answer 6ms 384.0 KiB
#7 Wrong Answer 5ms 384.0 KiB
#8 Wrong Answer 9ms 512.0 KiB
#9 Wrong Answer 9ms 604.0 KiB
#10 Accepted 9ms 616.0 KiB

信息

递交者
类型
递交
题目
P1794 文化之旅
语言
C++
递交时间
2017-05-09 15:03:00
评测时间
2017-05-09 15:03:00
评测机
分数
10
总耗时
54ms
峰值内存
616.0 KiB