文章
6
粉丝
553
获赞
11
访问
41.0k
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
BigInteger a = scan.nextBigInteger();
BigInteger b = scan.nextBigInteger();
System.out.println(a.divide(b) + " " + a.remainder(b));
}
}
}
登录后发布评论
暂无评论,来抢沙发