摘要: 题目A vampire number has an even number of digits and is formed by multiplying apair of numbers containing half the number of digits of the result. Thed... 阅读全文
posted @ 2015-04-17 12:20 陶修瑕 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.Scanner; 2 3 public class Fibonacci { 4 5 int fibo(int n) { 6 switch (n) { 7 case 1: 8 return 1;... 阅读全文
posted @ 2015-04-17 11:50 陶修瑕 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 package java_test; 2 3 public class labelWhile { 4 5 public static void main(String[] args) { 6 int i = 0; 7 outer: while (tr... 阅读全文
posted @ 2015-04-17 00:37 陶修瑕 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: 1 package java_test; 2 3 public class LabeledFor { 4 5 public static void main(String[]args){ 6 int i=0; 7 outer: //Cannot have... 阅读全文
posted @ 2015-04-17 00:27 陶修瑕 阅读(4719) 评论(0) 推荐(0) 编辑