«. 大数取模
大数取模
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Background
Description
我们都知道,ACM中大数运算都是很变态的,但是又是非常重要的. 今天,你的任务时写一个程序计算 A % B. 为了简单起见,B<=100000. 太难了吗? 我可以10分钟内写出来, 并且代码不超过 25 行~
Format
Input
多组数据,每组数据有两个整数A,B. A的长度不超过1000, B<<>100000.
Output
每个样例输出A % B.
Samples
2 3
12 7
152455856554521 3250
2
5
1521
Limitation
1s, 1024KiB for each test case.
第七届SWPU-ACM老生预选赛
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 187
- Start at
- 2022-9-19 14:00
- End at
- 2022-10-28 14:00
- Duration
- 936 hour(s)
- Host
- Partic.
- 45