记录详情

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 L1, expect 6717. 5ms 384.0 KiB
#2 Wrong Answer Read L1, expect 18415. 2ms 384.0 KiB
#3 Wrong Answer Read L1, expect 43252. 2ms 384.0 KiB
#4 Wrong Answer Read L1, expect 79776. 2ms 384.0 KiB
#5 Wrong Answer Read L1, expect 5114. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 21:08:25
评测时间
2022-07-28 21:08:25
评测机
分数
0
总耗时
17ms
峰值内存
384.0 KiB