当前位置:网站首页>[51nod] 2102 or minus and

[51nod] 2102 or minus and

2022-06-24 02:49:00 SSL_ GYX

Or minus and

Link


 Insert picture description here

Their thinking

Big problem , Than a + b   p r o b l e m a+b~problem a+b problem Much more difficult (

code

#include<iostream>
#include<cstdio>
using namespace std;

int a,b;

int main()
{
    
	cin>>a>>b;
	cout<<(a|b)-(a&b)<<endl;
}
原网站

版权声明
本文为[SSL_ GYX]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202211645221925.html