记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:9: warning: 'days' is used uninitialized [-Wuninitialized]
    8 |         printf("该年该月的天数为:%d\n",days);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:4:24: note: 'days' was declared here
    4 |         int year,month,days;
      |                        ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 输入年份和月份:, expect 29. 1ms 284.0 KiB
#2 Wrong Answer Read 输入年份和月份:, expect 28. 2ms 284.0 KiB
#3 Wrong Answer Read 输入年份和月份:, expect 28. 1ms 200.0 KiB
#4 Wrong Answer Read 输入年份和月份:, expect 30. 1ms 284.0 KiB
#5 Wrong Answer Read 输入年份和月份:, expect 31. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
A1-3 分支结构练习:月份天数
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 09:21:21
评测时间
2023-08-15 09:21:21
评测机
分数
0
总耗时
9ms
峰值内存
284.0 KiB