/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:44:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(i!=ans)
   ^~
/in/foo.cc:46:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    for(j=sum;j>=a[i];j--)
    ^~~
/in/foo.cc:66:14: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(i=1;i<=k+1;i++)
             ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 9ms 4.363 MiB
#2 Wrong Answer 5ms 4.375 MiB
#3 Wrong Answer 12ms 4.246 MiB
#4 Time Exceeded ≥2006ms ≥3.75 MiB
#5 Time Exceeded ≥2007ms ≥3.125 MiB
#6 Time Exceeded ≥2005ms ≥4.348 MiB
#7 Time Exceeded ≥2006ms ≥4.375 MiB
#8 Time Exceeded ≥2004ms ≥3.125 MiB
#9 Time Exceeded ≥2002ms ≥4.719 MiB
#10 Time Exceeded ≥2005ms ≥3.488 MiB

信息

递交者
类型
递交
题目
P1747 不给糖就捣乱
语言
C++
递交时间
2017-11-08 07:30:19
评测时间
2017-11-08 07:30:20
评测机
分数
0
总耗时
≥14066ms
峰值内存
≥4.719 MiB