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语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:530 |
C语言程序设计教程(第三版)课后习题6.10 (C语言代码)浏览:1051 |
WU-蓝桥杯算法提高VIP-Quadratic Equation (C++代码)浏览:1742 |
用筛法求之N内的素数。 (C语言代码)浏览:646 |
三角形 (C语言代码)浏览:903 |
C语言程序设计教程(第三版)课后习题6.1 (C语言代码)浏览:545 |
1024题解浏览:806 |
演讲大赛评分 (C语言代码)浏览:1629 |
C语言程序设计教程(第三版)课后习题9.3 (C语言代码)浏览:593 |
10月月赛题解浏览:536 |