/ 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 31ms 25.602 MiB
#2 Accepted 60ms 25.5 MiB
#3 Accepted 60ms 27.594 MiB
#4 Accepted 40ms 27.5 MiB
#5 Accepted 47ms 27.5 MiB
#6 Accepted 49ms 25.5 MiB
#7 Time Exceeded ≥5005ms ≥25.516 MiB
#8 Time Exceeded ≥5004ms ≥25.5 MiB
#9 Time Exceeded ≥5006ms ≥25.5 MiB
#10 Time Exceeded ≥5004ms ≥27.574 MiB

信息

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