UVA 11448 - Who said crisis?

Problem PDF

Solution:

package mypkg;

import java.math.BigInteger;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
    Scanner in=new Scanner (System.in);
        BigInteger a,b;
        int t;
        t=in.nextInt();
        for(int i=0;i
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/11448/Main.java