摘要:
import java.util.Scanner;public class HDU1004 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = 0, f = 0; String a = null; while (sc.hasNext()) { n = sc.nextInt(); int pre = 0; if (n > 0 && n <= 100... 阅读全文
posted @ 2012-07-12 14:42
A_阿飞
阅读(112)
评论(0)
推荐(0)
摘要:
import java.util.Scanner;public class HDU1003 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b, c, d, e, t, n, i, j; if (sc.hasNextInt()) { t = sc.nextInt(); for (j = 1; j <= t; j++) { n = sc.nextInt... 阅读全文
posted @ 2012-07-12 14:41
A_阿飞
阅读(143)
评论(0)
推荐(0)

浙公网安备 33010602011771号