import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ BigInteger n = new BigInteger (sc.next()); BigInteger m =new BigInteger (sc.nextInt()+""); System.out.println( n.remainder(m)); } } }
0.0分
1 人评分
C语言程序设计教程(第三版)课后习题10.4 (C语言代码)浏览:586 |
数组输出 (C语言代码)浏览:767 |
九宫重排 (C++代码)浏览:2160 |
C语言程序设计教程(第三版)课后习题10.2 (C语言代码)浏览:510 |
C语言程序设计教程(第三版)课后习题8.4 (C语言代码)浏览:609 |
简单的a+b (C语言代码)浏览:577 |
sizeof的大作用 (C语言代码)浏览:1452 |
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)浏览:600 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:408 |
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码)浏览:345 |