Time Exceeded

/in/foo.cc: In function 'long long int fib(int)':
/in/foo.cc:12:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return c;
         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:35: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<floor(fib(n)*1.0/(fib(n-2)))<<endl;
                                   ^
/in/foo.cc:18:35: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Time Exceeded ≥1005ms ≥360.0 KiB

信息

递交者
类型
递交
题目
P1197 永生诅咒
语言
C++
递交时间
2022-01-20 19:49:39
评测时间
2022-01-20 19:49:39
评测机
分数
50
总耗时
≥1006ms
峰值内存
≥360.0 KiB