#CCBCHBA0000010. Even Numbers (Even Numbers)
Even Numbers (Even Numbers)
Even Numbers
Source: beecrowd
Version: Phuoc Hung OJ Extended
Problem Statement
Read no input. Print every even integer from 2 to 100, in increasing order, one per line. Do not print zero.
Input
Empty input.
Output
Exactly 50 lines: 2,4,6,...,100.
Subtasks
- Subtask 1 (20%): No input; print all 50 even values with exact formatting.
- Subtask 2 (30%): No input; print all 50 even values with exact formatting.
- Subtask 3 (50%): No input; print all 50 even values with exact formatting.
Examples
Example 1
Input
Output
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
58
60
62
64
66
68
70
72
74
76
78
80
82
84
86
88
90
92
94
96
98
100
Explanation
Start at 2, increment by 2, and print each value on its own line.