会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风行八百里不问归期
博客园
园子
首页
新随笔
联系
管理
订阅
2016年11月23日
对一个二维数组进行升序排列a[0][1]为最小
摘要: public static int[][] dyadicArraySort(int a[][]){ int temp=0;int sum =0;int nn=0; for(int i=0;in[j+1]){ temp=n[j+1]; n[j+1]=n[j]; n[j]=temp; ...
阅读全文
posted @ 2016-11-23 15:55 风行八百里不问归期
阅读(526)
评论(0)
推荐(0)
2016年11月20日
for循环嵌套的优化
摘要: 1 public static void main(String[] args) { 2 int x = 0; 3 for (int i = 0; i < 2; i++) { 4 System.out.println("compare i:" + i + " " + ++x); 5 for (int j = 0; j < 3; j++)...
阅读全文
posted @ 2016-11-20 12:53 风行八百里不问归期
阅读(784)
评论(0)
推荐(0)
公告