方法1:
a = a + b;
b = a - b;
a = a - b;
方法2:
a ^= b;
b ^= a;
方法3:
a = a * b;
b = a / b;
a = a / b;
posted on 2014-07-29 09:22 zhxfl 阅读(209) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 zhxfl Powered by .NET 9.0 on Kubernetes