记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:14:23: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized]
   14 |                 printf("%d",count+2);
      |                 ~~~~~~^~~~~~~~~~~~~~
foo.cc:4:31: note: 'count' was declared here
    4 |         int a=1,b=1,c,n,cnt=1,count;
      |                               ^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1222123641, expect 143. 3ms 412.0 KiB
#2 Wrong Answer Read 51451284, expect 12. 3ms 412.0 KiB
#3 Wrong Answer Read -571115372, expect 1596. 3ms 328.0 KiB
#4 Wrong Answer Read 371723375, expect 2583. 3ms 412.0 KiB
#5 Wrong Answer Read 519077974, expect 17710. 3ms 356.0 KiB

信息

递交者
类型
递交
题目
A2-3 循环结构入门:斐波拉契数列的和
比赛
2023年新生赛(第一场)
语言
C++
递交时间
2023-08-15 11:57:38
评测时间
2023-08-15 11:57:38
评测机
分数
0
总耗时
18ms
峰值内存
412.0 KiB