06 2013 档案

摘要:#include <iostream>using namespace std;void Swap1(int& a, int& b){ a += b; b = a - b; a -= b;}void Swap2(int& a, int& b){ a *= b; b = a / b; a /= b;}void Swap3(int& a, int& b){ a ^= b; b ^= a; a ^= b;}void Swap4(int& a, int&b){ a = b + (b = a) * 0;}int main(int 阅读全文
posted @ 2013-06-04 20:41 国超 阅读(262) 评论(0) 推荐(0) 编辑