摘要:
1 public class A { 2 static int k=0; 3 static int temp_k=0; 4 static int p=0; 5 static int q=0; 6 public static void main(String ... 阅读全文
posted @ 2014-12-01 20:42
疾风剑
阅读(189)
评论(0)
推荐(0)
摘要:
先来看一个题目:今有7对数字:两个1,两个2,两个3,...两个7,把它们排成一行。 要求,两个1间有1个其它数字,两个2间有2个其它数字,以此类推,两个7之间有7个其它数字。如下就是一个符合要求的排列:17126425374635当然,如果把它倒过来,也是符合要求的。请你找出另一种符合要求的排列法... 阅读全文
posted @ 2014-12-01 13:41
疾风剑
阅读(409)
评论(0)
推荐(1)
摘要:
1 public class A { 2 static int k=0; 3 public static void main(String args[]) { 4 char[] ss = { '1', '2', '3', '4', '5', '6', '7', '1... 阅读全文
posted @ 2014-12-01 01:51
疾风剑
阅读(359)
评论(0)
推荐(0)
摘要:
1 public class Digui { 2 3 public static void main(String[] args) { 4 // TODO Auto-generated method stub 5 fun(3); 6 } 7 ... 阅读全文
posted @ 2014-12-01 01:35
疾风剑
阅读(707)
评论(0)
推荐(0)

浙公网安备 33010602011771号