解题思路:
注意事项:
参考代码:
import java.math.BigInteger; import java.util.Scanner; public class C1256 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String n = sc.next(); int m = sc.nextInt(); System.out.println(new BigInteger(n).mod(BigInteger.valueOf(m))); } sc.close(); } }
0.0分
2 人评分