记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    8 |         if(y%4==0&&y%100!=0||y%400==0)
      |            ~~~~~~^~~~~~~~~~
foo.c:17:19: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
   17 |         sum = sum + d -1;
      |               ~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -654695064, expect 1. 1ms 256.0 KiB
#2 Wrong Answer Read 979664133, expect 62. 1ms 256.0 KiB
#3 Wrong Answer Read 1309693540, expect 365. 1ms 384.0 KiB
#4 Wrong Answer Read 2105864820, expect 365. 1ms 256.0 KiB
#5 Wrong Answer Read -1916807681, expect 344. 1ms 256.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2022-10-05 19:30:33
评测时间
2022-10-05 19:30:33
评测机
分数
0
总耗时
6ms
峰值内存
384.0 KiB