构糟题
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.
题目描述
给定一个正整数 。
你需要构造一个 个数的集合,集合中的数均为正整数,使得 中的任何数均能用集合中 个数的和表示。
集合大小不超过 ,集合中的数
输入格式
从文件 中输入数据。 一行一个正整数
输出格式
输出到文件 中。 第一行一个正整数 。 第二行 个正整数 ,为集合中的数。
样例1输入
6
样例1输出
3
1 2 3
数据范围
对于 的数据,保证 。
对于另外 的数据,保证 。
对于另外 的数据,保证 。
对于另外 的数据,保证 。
对于另外 的数据,保证 。
对于 的数据,保证 。
8.27精英班模拟赛补题
- Status
- Done
- Rule
- OI
- Problem
- 4
- Start at
- 2023-8-28 18:00
- End at
- 2023-9-10 6:00
- Duration
- 300 hour(s)
- Host
- Partic.
- 8