分割绳子
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.
Description
现有条绳子,它们的长度分别为,如果从它们中切割出条长度相同的绳子,这条绳子每条最长能有多长?
Input Format
共有两行,第一行包含两个正整数和,用一个空格分隔; 第二行包含个数,依次表示条绳子的长度,两数间用一个空格分隔。每条绳子长度的小数不超过两位。($1 \le N \le 1000,1 \le K \le 1000,1 \le Li \le 10000$)
Output Format
仅包含一个数,表示所得$K$绳子的最大长度。
4 11
8.02 7.43 4.57 5.39
2.00
12月8日ACM周末训练
- Status
- Done
- Rule
- XCPC
- Problem
- 10
- Start at
- 2024-12-8 11:00
- End at
- 2024-12-8 16:00
- Duration
- 5 hour(s)
- Host
- Partic.
- 11