Created
October 30, 2014 05:36
-
-
Save takapiko/d2c4fe40e1d622f48767 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main(a,b,m){ | |
scanf("%d%d",&a,&b); | |
b=(a+=b)-2*b; | |
m=b>>31; | |
!((a=(a+(b^m)-m)/2)%2)&&printf("%d",a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment