abc150_d
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.
问题描述
输入格式
第一行两个整数 N, M。
第二行 N 个整数 。
输出格式
一个整数。
2 50
6 10
2
1~~M中,只有X=15和X=45两个解。
15 = 6 * (2+0.5); 15 = 10 * (1+0.5)。
45 = 6 * (7+0.5); 45 = 10 * (4+0.5)。
5 1000000000
6 6 2 6 2
166666667
数据范围
10.1 国庆普及组训练
- Status
- Done
- Rule
- IOI
- Problem
- 8
- Start at
- 2024-10-1 8:00
- End at
- 2024-10-1 12:00
- Duration
- 4 hour(s)
- Host
- Partic.
- 12