#3807. C++-数据存储与读入-已知矩形大小为n * m ,现用a * a的正方形填充该矩形, 最多能填充多少个?(正方形可重叠)

C++-数据存储与读入-已知矩形大小为n * m ,现用a * a的正方形填充该矩形, 最多能填充多少个?(正方形可重叠)

Background

Description

正方形可重叠

image

Format

Input

Output

Samples

6 15 2
70
2 3 3
0

Limitation

1s, 1024KiB for each test case.