记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:52:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   52 |      b1.push((b1f-'0')|(b1s-'0')-'0');
      |                        ~~~~~~~~~^~~~
foo.cc:53:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   53 |      b2.push((b2f-'0')|(b2s-'0')-'0');
      |                        ~~~~~~~~~^~~~
foo.cc:56:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
   56 |      b1.push((b1f-'0')^(b1s-'0')-'0');
      |                        ~~~~~~~~~^~~~
foo.cc:57:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
   57 |      b2.push((b2f-'0')^(b2s-'0')-'0');
      |                        ~~~~~~~~~^~~~
foo.cc:60:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
   60 |      b1.push((b1f-'0')&(b1s-'0')-'0');
      |                        ~~~~~~~~~^~~~
foo.cc:61:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
   61 |      b2.push((b2f-'0')&(b2s-'0')-'0');
      |                        ~~~~~~~~~^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 12ms 384.0 KiB

信息

递交者
类型
递交
题目
P1009 硕哥的布尔式
语言
C++
递交时间
2022-04-01 13:24:33
评测时间
2022-04-01 13:24:33
评测机
分数
100
总耗时
12ms
峰值内存
384.0 KiB