记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:5: warning: 'he' is used uninitialized [-Wuninitialized]
    9 |     printf("斐波那契数列前%d位的和为%d\n",n,he);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:5:15: note: 'he' was declared here
    5 |         int n,he;
      |               ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 输入正整数n:, expect 143. 2ms 284.0 KiB
#2 Wrong Answer Read 输入正整数n:, expect 12. 2ms 284.0 KiB
#3 Wrong Answer Read 输入正整数n:, expect 1596. 1ms 200.0 KiB
#4 Wrong Answer Read 输入正整数n:, expect 2583. 1ms 280.0 KiB
#5 Wrong Answer Read 输入正整数n:, expect 17710. 1ms 284.0 KiB

信息

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