• <input id="auww4"></input>
  • <input id="auww4"><acronym id="auww4"></acronym></input>
  • <input id="auww4"><u id="auww4"></u></input>
    <object id="auww4"><acronym id="auww4"></acronym></object>
    <menu id="auww4"></menu><input id="auww4"><u id="auww4"></u></input>
    <input id="auww4"><u id="auww4"></u></input>
  • F.A.Q
    Hand In Hand
    Online Acmers
    Forum | Discuss
    Statistical Charts
    Problem Archive
    Realtime Judge Status
    Authors Ranklist
     
         C/C++/Java Exams     
    ACM Steps
    Go to Job
    Contest LiveCast
    ICPC@China
    Best Coder beta
    VIP | STD Contests
    Virtual Contests
        DIY | Web-DIY beta
    Recent Contests
    Author ID 
    Password 
     Register new ID

    Re:java大法好

    Posted by Tinaleo at 2018-09-28 16:45:33 on Problem 1002
    (14)  


    import java.math.BigInteger;
    import java.util.Scanner;
    public class Main {
    	public static void main(String[] args) {
    		int t;
    		Scanner cin = new Scanner(System.in);
    		t = cin.nextInt();
    		for(int i=1;i<=t;i++) {
    			System.out.println("Case "+i+":");
    			BigInteger a,b;
    			a=cin.nextBigInteger();
    			b=cin.nextBigInteger();
    			System.out.println(a+" + "+b +" = "+(a.add(b)));
    			if(i!=t)
    				System.out.println();
    		}
    	}
    }
    ----------------------------------------------------------------------------------

    Followed by:


    Post your reply here:

    Author ID
    Password
    Title
    Content  
     
    Hangzhou Dianzi University Online Judge 3.0
    Copyright © 2005-2020 HDU ACM Team. All Rights Reserved.
    Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
    Total 0.015600(s) query 5, Server time : 2020-10-14 08:57:32, Gzip enabled
    棋牌