7-1 sdut-常用类-骄傲的代价 (10 分)
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long t=sc.nextLong();
for(int i=0;i<t;i++) {
BigInteger a=sc.nextBigInteger();
BigInteger b=sc.nextBigInteger();
System.out.println(a+"+"+b+"="+a.add(b));
System.out.println(a+"-"+b+"="+a.subtract(b));
System.out.println(a+"*"+b+"="+a.multiply(b));
System.out.println(a+"/"+b+"="+a.divide(b));
System.out.println(a+"%"+b+"="+a.mod(b));
}
sc.close();
}
}