/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void init()':
/in/foo.cc:15:16: warning: iteration 1000008 invokes undefined behavior [-Waggressive-loop-optimizations]
         fib[i] = (fib[i-1] + fib[i-2]) % mod;
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:14:19: note: within this loop
     for (int i=2;i<=maxn;i++)
                  ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 10ms 9.68 MiB
#2 Accepted 27ms 9.672 MiB
#3 Accepted 18ms 8.102 MiB
#4 Time Exceeded ≥5007ms ≥13.547 MiB
#5 Time Exceeded ≥5006ms ≥15.445 MiB
#6 Time Exceeded ≥5004ms ≥11.5 MiB
#7 Time Exceeded ≥5009ms ≥11.5 MiB
#8 Time Exceeded ≥5009ms ≥13.5 MiB
#9 Time Exceeded ≥5004ms ≥11.5 MiB
#10 Time Exceeded ≥5005ms ≥9.328 MiB

信息

递交者
类型
递交
题目
P2013 数字表格
语言
C++
递交时间
2017-08-14 18:45:53
评测时间
2017-08-14 18:45:53
评测机
分数
30
总耗时
≥35103ms
峰值内存
≥15.445 MiB