模块化幂级数
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.
问题陈述
给定整数 和 ,计算%,即除以的余数
输入格式
给定两个整数,。
输出格式
对于每个测试用例,打印一个整数
样例1
input
4
42
output
10
样例2
input
1
58
output
0
限制与约定
对于 的数据,, 。 对于 的数据,, 。 对于 的数据,, 。
- 时间限制:
- 空间限制:
[柳泉中学,龙凤苑中学,科技苑中学]拔高班第四次训练
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-3-27 19:30
- End at
- 2025-3-27 21:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 63