记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:52:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
      b1.push((b1f-'0')|(b1s-'0')-'0');
                        ~~~~~~~~~^~~~
/in/foo.cc:53:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
      b2.push((b2f-'0')|(b2s-'0')-'0');
                        ~~~~~~~~~^~~~
/in/foo.cc:56:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
      b1.push((b1f-'0')^(b1s-'0')-'0');
                        ~~~~~~~~~^~~~
/in/foo.cc:57:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
      b2.push((b2f-'0')^(b2s-'0')-'0');
                        ~~~~~~~~~^~~~
/in/foo.cc:60:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
      b1.push((b1f-'0')&(b1s-'0')-'0');
                        ~~~~~~~~~^~~~
/in/foo.cc:61:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
      b2.push((b2f-'0')&(b2s-'0')-'0');
                        ~~~~~~~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 6ms 980.0 KiB

信息

递交者
类型
递交
题目
P1009 硕哥的布尔式
语言
C++
递交时间
2019-09-26 00:32:31
评测时间
2019-09-26 00:32:31
评测机
分数
100
总耗时
6ms
峰值内存
980.0 KiB