标签:
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 238517 Accepted Submission(s): 45969
package hdoj; import java.util.*; import java.math.*; public class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); int T; int n=1; T = input.nextInt(); while(n<=T){ BigInteger a,b; a = input.nextBigInteger(); b = input.nextBigInteger(); System.out.println("Case " + n + ":" ); System.out.println(a + " + " + b + " = " + (a.add(b))); if(n!=T)System.out.println(); n++; } } }
标签:
原文地址:http://www.cnblogs.com/zoniony/p/4302215.html