摘要: 一般做法 int a,b; int temp; temp = a; a = b; b = temp; 巧妙方法 int a,b; a = a^b; b = a^b; a = a^b; 这样就不需要第三个变量 阅读全文
posted @ 2023-08-13 18:52 上官梦舞 阅读(8) 评论(0) 推荐(0) 编辑