Created
January 29, 2014 06:09
-
-
Save masui/8682742 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
#define swap(a,b) (a = a ^ b; b = a ^ b; a = a ^ b;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment