#G. C++-循环for-输入n和m(m>=n),输出n~m的所有的偶数

    Type: Default 1000ms 256MiB

C++-循环for-输入n和m(m>=n),输出n~m的所有的偶数

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.

Background

Description

输入n和m(m>=n),输出n~m的所有的偶数

Format

Input

Output

Samples

1
100
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
-100
100
-100
-98
-96
-94
-92
-90
-88
-86
-84
-82
-80
-78
-76
-74
-72
-70
-68
-66
-64
-62
-60
-58
-56
-54
-52
-50
-48
-46
-44
-42
-40
-38
-36
-34
-32
-30
-28
-26
-24
-22
-20
-18
-16
-14
-12
-10
-8
-6
-4
-2
0
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
-21
20
-20
-18
-16
-14
-12
-10
-8
-6
-4
-2
0
2
4
6
8
10
12
14
16
18
20

Limitation

1s, 1024KiB for each test case.

循环for

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2024-4-27 17:15
End at
2024-5-10 5:15
Duration
300 hour(s)
Host
Partic.
9