HDU 1212 ( Big Number )

//终于用java做了一个题目了,不过没那感觉
Problem : 1212 ( Big Number )     Judge Status : Accepted
RunId : 5690829    Language : Java    Author : ssun
Code Render Status : Rendered By HDOJ Java Code Render Version 0.01 Beta

import java.math.*;
import java.util.*;

public class Main
{
    public static void main(String args[])
    {
        Scanner cin = new Scanner(System.in);
        BigInteger a, b;

        while(cin.hasNext())
        {
            a = cin.nextBigInteger();
            b = cin.nextBigInteger();
            System.out.println(a.mod(b));
        }
    }
}


你可能感兴趣的:(java,String,Class,import)