Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:9: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
     if(0<=a&0<=b&300>=a&300>=b)
        ~^~~
foo.cc:9:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
     if(0<=a&0<=b&300>=a&300>=b)
                  ~~~^~~
foo.cc:9:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
     if(0<=a&0<=b&300>=a&300>=b)
                         ~~~^~~
foo.cc:11:8: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if(c&2==00)
       ~^~~~
foo.cc:15:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout<<c;
     ~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 40, expect 55. 1ms 384.0 KiB
#2 Wrong Answer Read 22350, expect 22500. 1ms 384.0 KiB
#3 Wrong Answer Read 4, expect 5. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P2359 1.5.9:奇数求和
语言
C++
递交时间
2021-10-30 23:15:06
评测时间
2021-10-30 23:15:06
评测机
分数
0
总耗时
5ms
峰值内存
384.0 KiB