余数 (remainder)
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.
[丛雨]某天心血来潮,在纸上连续写下了从 到 的所有数,例如当 ,她写的就是 。她想知道这个数对 的余数。
输入格式(remainder.in)
一行两个正整数 和 。
输出格式(remainder.out)
一行一个正整数,按题目要求输出。
输入样例
7 13
输出样例
7
数据范围
对于 % 的数据,保证 。
0913
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2024-9-13 14:00
- End at
- 2024-9-13 17:30
- Duration
- 3.5 hour(s)
- Host
- Partic.
- 19