记录详情

Wrong Answer

foo.c: In function 'pd':
foo.c:5:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    5 |         if(y%4==0&&y%100!=0||y%400==0)
      |            ~~~~~~^~~~~~~~~~
foo.c: In function 'main':
foo.c:17:15: warning: statement with no effect [-Wunused-value]
   17 |         arr[2]==29;
      |         ~~~~~~^~~~
foo.c:13:22: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   13 |         int y, m, d, sum, i;
      |                      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1221103191, expect 1. 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Wrong Answer Read 295, expect 365. 3ms 256.0 KiB
#4 Wrong Answer Read -761, expect 365. 2ms 256.0 KiB
#5 Wrong Answer Read 1154, expect 344. 2ms 256.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2022-10-02 10:37:01
评测时间
2022-10-02 10:37:01
评测机
分数
20
总耗时
14ms
峰值内存
256.0 KiB