摘要: //题目:利用1、2、2、3、4这4个数字,用java写一个main函数打印出所有不同的排列,如12234,,2234等,要求打印出来不能有重复 1 package test123; 2 3 import java.util.Arrays; 4 5 public class test123 { 6 public static int count = 0; 7 public static void main(String[] args) { 8 String s = "1223"; 9 String s2 = "1232";10 ... 阅读全文
posted @ 2014-01-04 10:37 soul390 阅读(532) 评论(0) 推荐(0)