乘积最大的拆分
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
将正整数 n 拆分为若干个互不相等的自然数之和,问如何拆分可以使得它们的乘积最大?
Input Format
一个正整数n。 n <= 10000。
Output Format
一行,包含若干个互不相等的自然数——乘积最大的一种拆分方案。这些自然数需从小到大输出,两个自然数之间用单个空格隔开。
15
2 3 4 6
2025_07_02吉利学院暑假实训周-上机实践-3
- Status
- Done
- Rule
- XCPC
- Problem
- 7
- Start at
- 2025-7-3 14:00
- End at
- 2025-7-3 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 26