会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yu10001
Talk is cheap. Show me the code. Go big or go home.
博客园
首页
新随笔
联系
订阅
管理
2020年5月18日
产生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,k; 8 srand(time(0)); //s
阅读全文
posted @ 2020-05-18 16:32 yu10001
阅读(1698)
评论(0)
推荐(0)
编辑
公告