#include<stdio.h>
main()
{
int n;
scanf("%d",&n);
printf("%d",( ((n & 0xaaaaaaaa) >> 1) | ((n & 0x55555555) << 1) ));
}
main()
{
int n;
scanf("%d",&n);
printf("%d",( ((n & 0xaaaaaaaa) >> 1) | ((n & 0x55555555) << 1) ));
}
class Stack : def __init__ ( self , data ): self . stack = [] if ( data ): self . stack . append ( da...
No comments:
Post a Comment