平衡点
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.
题目大意
给你两个数 ,找出使得 的 的值。若没有输出 IMPOSSIBLE
。
输入
输入一行两个整数
输出
如果存在符合条件的,则输出对应内容,否则输出IMPOSSIBLE
2 16
9
0 3
IMPOSSIBLE
998244353 99824435
549034394
提示
- 输入都是整数。
样例解释1
, ,所以 9是满足条件的数
样例解释2
不存在满足条件的数
粒子2025年5月月赛
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2025-4-27 0:00
- End at
- 2025-5-30 8:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 16