记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:22: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   10 |   if((i%100==0&&i&400==0)||i%4==0) sum++;
      |                   ~~~^~~
foo.cc:15:24: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   15 |    if(((i%100==0&&i&400==0)||i%4==0)&&i==2) sum+=num[0];
      |                     ~~~^~~
foo.cc:25:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   25 |   if(((i%100==0&&i&400==0)||i%4==0)&&i==2) sum+=num[0];
      |                    ~~~^~~
foo.cc:30:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   30 |   if(((m%100==0&&m&400==0)||m%4==0)&&m==2) sum+=(num[0]-d+d2);
      |                    ~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 6748, expect 6717. 3ms 384.0 KiB
#2 Wrong Answer Read 18447, expect 18415. 3ms 384.0 KiB
#3 Wrong Answer Read 43284, expect 43252. 4ms 384.0 KiB
#4 Wrong Answer Read 79809, expect 79776. 2ms 384.0 KiB
#5 Wrong Answer Read 5113, expect 5114. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
语言
C++
递交时间
2022-08-08 20:39:54
评测时间
2022-08-08 20:39:54
评测机
分数
0
总耗时
16ms
峰值内存
384.0 KiB