2012年5月2日

数值交换

摘要: 不通过中间变量交换两个数void swap(int &a, int &b){ a ^= b; b ^= a; a ^= b;}:-) 阅读全文

posted @ 2012-05-02 19:55 卒 阅读(89) 评论(0) 推荐(0)

导航