11

Count Down

Time Limit: 2 sec / Memory Limit: 1024 MB

Problem Statement

按降序打印所有小于或等于N的非负整数。

Constraints

  • $1≤N≤100$
  • N is an integer.

Input

输入来自标准输入,其格式如下:

N

Output

打印X 行,其中X 是小于或等于N 的非负整数的数量。
对于每个i=1,2,...,X ,第i行应该包含小于或等于 N 的 i 最大非负整数。


Sample Input 1

3

Sample Output 1

3
2
1
0

Sample Input 2

22

Sample Output 2

22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
posted @ 2023-04-11 17:00  Rookie_Leixin  阅读(91)  评论(0)    收藏  举报