标签:bsp 表示 描述 nbsp style 对象 个数 ffffff mes
程序填空,产生指定输出结果
#include <iostream> #include <algorithm> using namespace std; int main() { int a[8] = {6,5,14,23,2,9,87,10 }; sort(
// 在此处补充你的代码
); for(int i = 0;i < 8; ++i) cout << a[i] << "," ; return 0; }
无
6,87,23,14,9,5,2,10,
对于这个问题来说,greater就足够了,直接拿过来用:
标签:bsp 表示 描述 nbsp style 对象 个数 ffffff mes
原文地址:http://www.cnblogs.com/w1992/p/7632564.html