#3853. C++-循环for-输出一定范围的整数的所有能被3整除的数并求和

C++-循环for-输出一定范围的整数的所有能被3整除的数并求和

Background

Description

输出一定范围(m和n之间,包括m和n)的整数的所有能被3整除的数并求和

Format

Input

输入m和n(皆为整数,并-10000<=m,n<=10000)

Output

Samples

1
100
3
6
9
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
1683

Limitation

1s, 1024KiB for each test case.