记录详情

Time Exceeded

foo.cc: In function 'void solve()':
foo.cc:13:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if (n = 0||n==1) {
      ~~^~~~~~~~~
foo.cc:19:11: warning: iteration 9223372036854775805 invokes undefined behavior [-Waggressive-loop-optimizations]
   while (n--) {
          ~^~
foo.cc:19:11: note: within this loop
   while (n--) {
           ^~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1433ms ≥384.0 KiB
#2 Accepted 2ms 396.0 KiB
#3 Time Exceeded ≥1430ms ≥384.0 KiB
#4 Time Exceeded ≥1429ms ≥356.0 KiB
#5 Time Exceeded ≥1430ms ≥364.0 KiB
#6 Time Exceeded ≥1461ms ≥340.0 KiB
#7 Time Exceeded ≥1460ms ≥408.0 KiB
#8 Time Exceeded ≥1456ms ≥388.0 KiB
#9 Time Exceeded ≥1458ms ≥360.0 KiB
#10 Time Exceeded ≥1882ms ≥364.0 KiB

信息

递交者
类型
递交
题目
P1001 斐波那契(Round 1)
语言
C++
递交时间
2021-01-27 13:43:03
评测时间
2021-01-27 21:23:33
评测机
分数
10
总耗时
≥13445ms
峰值内存
≥408.0 KiB