Wrong Answer

foo.cc: In function 'int main()':
foo.cc:49:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(a%4!=0||a%4==0&&a%100!=0)
                ~~~~~~^~~~~~~~~~
foo.cc:8:12: warning: unused variable 'd' [-Wunused-variable]
  int a,b,c,d,i=0;
            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2002-12-0, expect 2002-11-30. 1ms 400.0 KiB
#2 Wrong Answer Read 2030-4-18, expect 2030-4-17. 2ms 404.0 KiB
#3 Wrong Answer Read 1977-2-17, expect 1977-2-16. 1ms 404.0 KiB
#4 Wrong Answer Read 1980-3-1, expect 1980-2-29. 1ms 412.0 KiB
#5 Wrong Answer Read 2000-3-0, expect 2000-2-29. 1ms 384.0 KiB
#6 Accepted 2ms 416.0 KiB
#7 Accepted 1ms 408.0 KiB
#8 Accepted 1ms 440.0 KiB
#9 Wrong Answer Read 2027-1-0, expect 2026-12-31. 1ms 396.0 KiB
#10 Wrong Answer Read 2029-5-20, expect 2029-5-19. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1046 生日日数
语言
C++
递交时间
2021-11-11 20:14:41
评测时间
2021-11-11 20:14:41
评测机
分数
30
总耗时
18ms
峰值内存
440.0 KiB