/ 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 Time Exceeded ≥1005ms ≥220.0 KiB
#2 Accepted 4ms 216.0 KiB
#3 Time Exceeded ≥1001ms ≥376.0 KiB
#4 Time Exceeded ≥1003ms ≥384.0 KiB
#5 Accepted 5ms 376.0 KiB
#6 Time Exceeded ≥1004ms ≥376.0 KiB
#7 Time Exceeded ≥1001ms ≥372.0 KiB
#8 Time Exceeded ≥1003ms ≥356.0 KiB
#9 Time Exceeded ≥1002ms ≥372.0 KiB
#10 Time Exceeded ≥1004ms ≥332.0 KiB

信息

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