摘要: 给定一个数组,将奇数全部调整到偶数前面。 //调整数组顺序使奇数位于偶数前面 11223344 class SoftCount{ static int[] arr={1,2,3,4,5,6,7,8,9,10}; static int[] soft(int[] arr){ int left=0; in 阅读全文
posted @ 2020-03-28 18:36 codeFlyer 阅读(154) 评论(0) 推荐(0) 编辑