会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
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
阅读(1019)
评论(0)
推荐(0)
公告