摘要: 1.#include <iostream> using namespace std; //交换两个值 void swap(int &a, int &b) { int temp = 0; temp = a; a = b; b = temp; } //把数组中元素为奇数的放左边,偶数放有右边。//此处引 阅读全文
posted @ 2019-03-21 20:04 Royzzzzz 阅读(590) 评论(0) 推荐(0) 编辑