标签:pac bsp mes 冒泡 int color wap namespace include
#include <iostream> using namespace std; void swap(int &a, int &b) { int t = a; a = b; b = t; } void bbsort(int d[], int len) { for (int i = 0; i < len; i++) { for (int j = 1; j < len - 1; j++) { if (d[j - 1] > d[j]) { swap(d[j - 1], d[j]); } } } }
标签:pac bsp mes 冒泡 int color wap namespace include
原文地址:https://www.cnblogs.com/lzjlzj/p/13109673.html