/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:33:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (s + sum[n] - sum[x-1] <= ans)
     ^~
/in/foo.cc:35:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (x == n+1)
  ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:66:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i = 1; i <= n; i++)
     ^~~
/in/foo.cc:68:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  int x, y;
  ^~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥344.0 KiB
#2 Accepted 3ms 368.0 KiB
#3 Wrong Answer 5ms 376.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 4ms 368.0 KiB
#6 Time Exceeded ≥1002ms ≥352.0 KiB
#7 Time Exceeded ≥1007ms ≥368.0 KiB
#8 Time Exceeded ≥1002ms ≥256.0 KiB
#9 Time Exceeded ≥1002ms ≥368.0 KiB
#10 Time Exceeded ≥1003ms ≥356.0 KiB

信息

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