Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    6 |         if(n%400==0&&n%4==0||n%100!=0)
      |            ~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#2 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#3 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#4 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#5 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#6 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#7 Wrong Answer Read YES, expect NO. 3ms 256.0 KiB
#8 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#9 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#10 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#11 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#12 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#13 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#14 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#15 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#16 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#17 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#18 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#19 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#20 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#21 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#22 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#23 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#24 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#25 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#26 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#27 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#28 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#29 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#30 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#31 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#32 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#33 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#34 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#35 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#36 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#37 Accepted 1ms 256.0 KiB
#38 Accepted 1ms 256.0 KiB
#39 Accepted 1ms 256.0 KiB
#40 Accepted 2ms 256.0 KiB
#41 Accepted 2ms 256.0 KiB
#42 Accepted 1ms 256.0 KiB
#43 Accepted 1ms 256.0 KiB
#44 Accepted 1ms 256.0 KiB
#45 Accepted 1ms 256.0 KiB
#46 Accepted 1ms 256.0 KiB
#47 Accepted 1ms 256.0 KiB
#48 Accepted 1ms 256.0 KiB
#49 Accepted 1ms 256.0 KiB
#50 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1004 闰年判断
语言
C++
递交时间
2022-09-04 20:57:05
评测时间
2022-09-04 20:57:05
评测机
分数
28
总耗时
81ms
峰值内存
256.0 KiB