Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*******************************************************************************\
- |*********S*** ****** ************* ************* ************** * ******|
- |*********** ******** ************ ************ *********** ** ******|
- |********* ********** *********** *** *********** * ********* *** ******|
- |******** *********** *I******** **** ********** *** ***** ***** ******|
- |******** *********** ********* ****** ********* ***** ** ****** ******|
- |********** ********* ******** ***A**** ******** ******* ******** ******|
- |*********** ******** ******* ********** ******* ***************** ******|
- |********** ********* ****** ************ ****** ***************** ******|
- |******** *********** ***** ************** ***** ********M******** ******|
- |***** ************** **** **************** **** ***************** ******|
- |*******************************************************************************|
- |**************BSMRSTU********************************CSE***********************|
- \*******************************************************************************/
- #include <stdio.h>
- #include <math.h>
- #define ll long long
- #define li long int
- #define fl float
- #define fd double
- #define anda 0
- #define B break
- #define C continue
- #define sf scanf
- #define pf printf
- #define byebye return 0
- int main()
- {
- int a,b,i;
- sf("%d%d",&a,&b);
- for(i=1; i<=256; i*=2){
- if((a&i)==i){
- b=b^i;
- }
- }
- pf("%d",b);
- byebye;
- }
Advertisement
Add Comment
Please, Sign In to add comment