import java.math.BigInteger; import java.utils.*; publci class main(){ public static void main(string[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int k = 1; while (t--){ BigInteger a = sc.nextBigInteger(); BigInteger b = sc.nextBigInteger(); System.out.println("Case #"+ k++ +":"); System.out.println(a.subtract(b)); } } } /* Main.java:4: error: class, interface, or enum expected publci class main(){ ^ Main.java:4: error: '{' expected publci class main(){ ^ 2 errors */ |
Double click to view unformatted code.