余数
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
Special for beginners, ^_^
Description
给定一个整数 。
输出 分别除以2,3,4,5,8,9的余数。
Format
Input
多组数据。
第一行1个 ,表示 组数据。
每组数据输入2个整数 和 ,其中 表示的是 的位数。
Output
每组数据输出6个整数,分别为 对2,3,4,5,8,9取余的答案。
Samples
1
3 123
1 0 3 3 3 6
Limitation
对于10%的数据,。
对于另外10%的数据,。
对于另外30%的数据,。
对于所有数据,,。
不保证 的最高位不是0
信念
- Status
- Done
- Rule
- Ledo
- Problem
- 6
- Start at
- 2023-1-2 21:15
- End at
- 2023-12-31 23:15
- Duration
- 8714 hour(s)
- Host
- Partic.
- 14