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

    Type: Default 1000ms 256MiB

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

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

image

若是n=5,m=6,a=2,则有最多能填充6个。

image

Format

Input

Output

Samples

5 6 2
6
10 9 1
90

Limitation

1s, 1024KiB for each test case.

C++基础知识01(输入输出、变量类型、判断)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
11
Start at
2024-5-5 0:00
End at
2024-5-20 0:00
Duration
360 hour(s)
Host
Partic.
52