记录详情

Wrong Answer

foo.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^~~~
foo.c: In function 'main':
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d,%d,%d", &year,&month,&day);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:26:25: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
  sum=(2021-year-r)*365+r*366+month+day;
                        ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1602828749, expect 7968. 0ms 256.0 KiB
#2 Wrong Answer Read -50358500, expect 4049. 0ms 256.0 KiB
#3 Wrong Answer Read -374946371, expect 232. 0ms 256.0 KiB
#4 Wrong Answer Read 1633881902, expect 18. 0ms 256.0 KiB
#5 Wrong Answer Read 982334969, expect 8591. 0ms 256.0 KiB

信息

递交者
类型
递交
比赛
2021年中北算法竞赛队招新测试
语言
C
递交时间
2021-10-24 16:34:54
评测时间
2021-10-24 16:34:54
评测机
分数
0
总耗时
3ms
峰值内存
256.0 KiB