摘要: import java.math.BigInteger;import java.util.Scanner;public class HDU1002 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = 1; int T = 0; BigInteger a; BigInteger b; BigInteger sum; T = sc.nextInt(); if ... 阅读全文
posted @ 2012-07-08 11:11 A_阿飞 阅读(180) 评论(0) 推荐(0)
摘要: import java.util.Scanner;public class HDU1001 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = 0; while (sc.hasNext()) { int sum = 0; n = sc.nextInt(); for (int i = 1; i <= n; i++) { sum +=... 阅读全文
posted @ 2012-07-08 11:09 A_阿飞 阅读(138) 评论(0) 推荐(0)