记录详情

Accepted

foo.c: In function ‘LeapYear’:
foo.c:3:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    3 |         if(year%4==0 && year%100!=0 || year%400==0){
      |            ~~~~~~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 512.0 KiB
#2 Accepted 1ms 364.0 KiB
#3 Accepted 1ms 512.0 KiB
#4 Accepted 1ms 760.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
比赛
南师大2025年新生赛(第一场)
语言
C
递交时间
2025-08-15 11:01:49
评测时间
2025-08-23 22:07:06
评测机
分数
100
总耗时
6ms
峰值内存
760.0 KiB