#H. C++-循环for-输入n和m(m>=n)及k(k>=1),输出n~m的所有能被k整除的整数

    Type: Default 1000ms 256MiB

C++-循环for-输入n和m(m>=n)及k(k>=1),输出n~m的所有能被k整除的整数

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)及k(k>=1),输出n~m的所有能被k整除的整数 n、m和k皆为整数。

Format

Input

Output

Samples

-10
10
3
-9
-6
-3
0
3
6
9
-20
30
7
-14
-7
0
7
14
21
28
-9
10
5
-5
0
5
10

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