和为n的子序列
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,从 的数列中,找出最前面的总和为 n 的连续子数列。
Input Format
一行一个整数 n。
Output Format
一行若干个数,表示和为 n 的连续子序列,每两个数之间有一个空格。
5
2 3
4
4
Hint
数据范围:
2024吉利学院ACM暑假实践周训练5
- Status
- Done
- Rule
- XCPC
- Problem
- 4
- Start at
- 2024-7-5 13:30
- End at
- 2024-7-5 16:30
- Duration
- 3 hour(s)
- Host
- Partic.
- 33