/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void init()':
/in/foo.cc:49:20: warning: iteration 1000008 invokes undefined behavior [-Waggressive-loop-optimizations]
             fib[i] = (fib[i-1] + fib[i-2]) % mod;
             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:47:19: note: within this loop
     for (int i=2;i<=maxn;i++)
                  ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 29ms 27.5 MiB
#2 Accepted 58ms 25.5 MiB
#3 Accepted 59ms 25.5 MiB
#4 Accepted 59ms 27.5 MiB
#5 Accepted 42ms 27.5 MiB
#6 Accepted 38ms 27.5 MiB
#7 Time Exceeded ≥5009ms ≥27.5 MiB
#8 Time Exceeded ≥5010ms ≥25.5 MiB
#9 Time Exceeded ≥5003ms ≥27.5 MiB
#10 Time Exceeded ≥5005ms ≥25.578 MiB

信息

递交者
类型
递交
题目
P2013 数字表格
语言
C++
递交时间
2017-08-14 19:25:35
评测时间
2017-08-14 19:25:35
评测机
分数
60
总耗时
≥20318ms
峰值内存
≥27.5 MiB