摘要: #define swap(x,y) {int s=x;x=y;y=s;}换行的写法#define swap(x, y)\int temp = x;\x = y;\y = temp;#define swap(x,y) {x= x+y;y=x-y;x=x-y;}换行的写法#define swap(x,y)\x=x+y;\y=x-y;\x=x-y;\ 阅读全文
posted @ 2009-09-28 10:38 maxweii 阅读(344) 评论(0) 推荐(0)