B. 2021SSOI五年级第二题 涂刷地砖(0.2)

    Type: Default 1000ms 128MiB

2021SSOI五年级第二题 涂刷地砖(0.2)

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.

说明

地面铺满了很多块边长为a的正方形地砖,现在要在地面上涂刷一块长为w,宽为h的长方形色块,请问最少有几块地砖会被涂上颜色?(1<=w,h,a<=100)。

输入格式

只有一行,分别输入w,h和a。

输出格式

被涂刷地砖的最少数量。

12 8 4
6

来源

计算

2021年狮山镇赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2025-12-9 12:00
End at
2025-12-13 16:00
Duration
100 hour(s)
Host
Partic.
31