会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bobo哥
博客园
首页
新随笔
联系
管理
订阅
2019年11月6日
数组中,将奇数都靠左,偶数都靠右;并且将左边的奇数升序,右边的偶数降序
摘要: 源程序: #include <iostream>using namespace std; const int n=10; typedef int array[n];void main(){ int start,end; array a={60,34,55,78,90,99,76,85,96,43};
阅读全文
posted @ 2019-11-06 08:12 bobo哥
阅读(398)
评论(0)
推荐(0)
公告