Count Down

AtCoder
IDabc281_a
Time2000ms
Memory256MB
Difficulty
Print all non-negative integers less than or equal to $N$ in descending order. ## Constraints * $1 \leq N \leq 100$ * $N$ is an integer. ## Input The input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
3
Output #1
3
2
1
0

We have four non-negative integers less than or equal to $3$, which are $0$, $1$, $2$, and $3$.  
To print them in descending order, print $3$ in the first line, $2$ in the second, $1$ in the third, and $0$ in the fourth.
Input #2
22
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
API Response (JSON)
{
  "problem": {
    "name": "Count Down",
    "description": {
      "content": "Print all non-negative integers less than or equal to $N$ in descending order.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc281_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Print all non-negative integers less than or equal to $N$ in descending order.\n\n## Constraints\n\n*   $1 \\leq N \\leq 100$\n*   $N$ is an integer.\n\n## Input\n\nThe input is given from Standard Input in the ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments