import java.util.Scanner; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner input=new Scanner(System.in); int i=NextInt(); for(int t=0;t<i;t++) { BigInteger a=input.nextBigInteger(); BigInteger b=input.nextBigInteger(); System.out.println("Case #"+(t+1)+":"); System.out.println(a.subtract(b)); } } } /* Main.java:9: error: cannot find symbol int i=NextInt(); ^ symbol: method NextInt() location: class Main 1 error */ |
Double click to view unformatted code.