/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:28:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (s + sum[n] - sum[x] <= ans)
     ^~
/in/foo.cc:30: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 ≥1002ms ≥256.0 KiB
#2 Accepted 4ms 256.0 KiB
#3 Time Exceeded ≥1003ms ≥348.0 KiB
#4 Time Exceeded ≥1005ms ≥384.0 KiB
#5 Accepted 4ms 368.0 KiB
#6 Time Exceeded ≥1008ms ≥348.0 KiB
#7 Time Exceeded ≥1004ms ≥256.0 KiB
#8 Time Exceeded ≥1005ms ≥372.0 KiB
#9 Time Exceeded ≥1004ms ≥352.0 KiB
#10 Time Exceeded ≥1004ms ≥384.0 KiB

信息

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