会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yu10001
Talk is cheap. Show me the code. Go big or go home.
博客园
首页
新随笔
联系
订阅
管理
2020年5月17日
产生10个随机数,用比较法排序,从大到小输出(降序)
摘要: 比较法排序: 1 #include <iostream> 2 #include<ctime> 3 #include<cstdlib> 4 using namespace std; 5 6 int main() { 7 int a[10] ,i,j,t; 8 srand(time(0)); //sra
阅读全文
posted @ 2020-05-17 21:38 yu10001
阅读(924)
评论(0)
推荐(0)
编辑
公告