【USTCPC2025】L. 一道数学题
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.
题目描述
克露丝卡尔酱不明白,在算法竞赛中怎么会出现一道数学题呢?
因为我们是中国数学物理大学
克露丝卡尔酱不是一个合格的中国数学物理大学的学生,帮帮她吧!
对所有可能的 个和为 的不同正整数 ,求 的最小值。
答案对 取模。
输入格式
一行,两个用空格隔开的整数 和 。保证 。
输出格式
输出仅包含 行 个数字,为上述最小值 取模的值。
样例
输入
4 10
输出
21
USTCPC2025 线下赛
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 15
- Start at
- 2025-3-23 12:00
- End at
- 2025-3-23 17:00
- Duration
- 5 hour(s)
- Host
- Partic.
- 64