msiamn

23

Jun 22nd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.46 KB | None | 0 0
  1. /*******************************************************************************\
  2. |*********S***   ******  *************  *************  **************  *  ******|
  3. |***********   ********  ************    ************    ***********  **  ******|
  4. |*********   **********  ***********  *** ***********  *  *********  ***  ******|
  5. |********   ***********  *I********  ****  **********  ***  *****  *****  ******|
  6. |********   ***********  *********  ******  *********  *****  **  ******  ******|
  7. |**********   *********  ********  ***A****  ********  *******  ********  ******|
  8. |***********   ********  *******  **********  *******  *****************  ******|
  9. |**********   *********  ******  ************  ******  *****************  ******|
  10. |********   ***********  *****  **************  *****  ********M********  ******|
  11. |*****   **************  ****  ****************  ****  *****************  ******|
  12. |*******************************************************************************|
  13. |**************BSMRSTU********************************CSE***********************|
  14. \*******************************************************************************/
  15. #include <stdio.h>
  16. #include <math.h>
  17. #define ll long long
  18. #define li long int
  19. #define fl float
  20. #define fd double
  21. #define anda 0
  22. #define B break
  23. #define C continue
  24. #define sf scanf
  25. #define pf printf
  26. #define byebye return 0
  27. int main()
  28. {
  29.     int a,b,i;
  30.     sf("%d%d",&a,&b);
  31.     for(i=1; i<=256; i*=2){
  32.         if((a&i)==i){
  33.             b=b^i;
  34.         }
  35.     }
  36.     pf("%d",b);
  37.     byebye;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment