记录详情

Accepted

foo.c: In function 'yfts':
foo.c:4:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    4 |         if (y % 4 == 0 && y % 100 != 0 || y % 400 == 0)
      |             ~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.c: In function 'main':
foo.c:78:13: warning: unused variable 'i' [-Wunused-variable]
   78 |         int i = 0;
      |             ^
foo.c: In function 'yfts':
foo.c:72:1: warning: control reaches end of non-void function [-Wreturn-type]
   72 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 200.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 1ms 284.0 KiB
#6 Accepted 1ms 284.0 KiB
#7 Accepted 1ms 284.0 KiB
#8 Accepted 1ms 204.0 KiB
#9 Accepted 1ms 284.0 KiB
#10 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1478 D. Thursday o.O
比赛
2023年新生赛(第二场)
语言
C
递交时间
2023-08-25 09:42:13
评测时间
2023-08-25 09:42:13
评测机
分数
100
总耗时
19ms
峰值内存
284.0 KiB