和为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
数据范围:
2025_07_11吉利学院暑假实训周第二次测试
- Status
- Done
- Rule
- XCPC
- Problem
- 8
- Start at
- 2025-7-11 14:00
- End at
- 2025-7-11 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 25