标签:java ann style ext 5.0 out main mono san
/**
* @link http://acm.hdu.edu.cn/showproblem.php?pid=1212
* @author Sycamore
* @date Aug, 18
*/
import java.math.BigInteger;
import java.util.*;
class Main{
public static void main(String args[]){
Scanner scanner=new Scanner(System.in);
BigInteger A,B;
while(scanner.hasNextBigDecimal())
{
A=scanner.nextBigInteger();
B=scanner.nextBigInteger();
System.out.println(A.mod(B));
}
scanner.close();
}
}
标签:java ann style ext 5.0 out main mono san
原文地址:http://www.cnblogs.com/zjnu/p/7392094.html