View Code of Problem 3689

import java.math.*;
import java.util.*

public Main{
    public static void main(String[], args){
        Scanner input = new Scanner(System.in);
        int t = input.nextInt();
        int k = 0;
        for(int i = 0 ; i < t; i++){
            BigInteger a = input.nextBigInteger();
            BigInteger b = input.nextBigInteger();
            System.out.println("Case #"+ k++ +":");
            System.out.println(a.subtract(b));
        }
    }
}
/*
Main.cc:1:1: error: 'import' does not name a type; did you mean 'short'?
 import java.math.*;
 ^~~~~~
 short
Main.cc:2:1: error: 'import' does not name a type; did you mean 'short'?
 import java.util.*
 ^~~~~~
 short
*/

Double click to view unformatted code.


Back to problem 3689