/ Vijos /

记录详情

Time Exceeded

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

信息

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