/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (s + sum[n] - sum[x] <= ans)
     ^~
/in/foo.cc:18:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (x == n+1)
  ^~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1008ms ≥384.0 KiB
#2 Accepted 3ms 348.0 KiB
#3 Time Exceeded ≥1005ms ≥256.0 KiB
#4 Time Exceeded ≥1007ms ≥348.0 KiB
#5 Wrong Answer 4ms 360.0 KiB
#6 Time Exceeded ≥1009ms ≥260.0 KiB
#7 Time Exceeded ≥1007ms ≥352.0 KiB
#8 Time Exceeded ≥1006ms ≥384.0 KiB
#9 Time Exceeded ≥1004ms ≥332.0 KiB
#10 Time Exceeded ≥1004ms ≥384.0 KiB

信息

递交者
类型
递交
题目
P1048 送给圣诞夜的贺卡
语言
C++
递交时间
2017-11-08 16:39:44
评测时间
2017-11-08 16:39:45
评测机
分数
10
总耗时
≥8061ms
峰值内存
≥384.0 KiB