Problem4494--方舱医院

4494: 方舱医院

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

小爱正在建设一座方舱医院,医院位于一个长方形的场地内,该场地的长为 lns="http://www.w3.org/1998/Math/MathML">a,宽为 lns="http://www.w3.org/1998/Math/MathML">b。场地里要安置尽量多的病床。每张病床需要占据长度为 lns="http://www.w3.org/1998/Math/MathML">c×c 的正方形区域,且正方形的边必须与场地的边界平行。请问最多可以放置多少张病床?

Input

  • 第一行:两个整数表示 lns="http://www.w3.org/1998/Math/MathML">a 与 lns="http://www.w3.org/1998/Math/MathML">b
  • 第二行:一个整数表示 lns="http://www.w3.org/1998/Math/MathML">c

数据范围

  • lns="http://www.w3.org/1998/Math/MathML">1c1000

Output

  • 单个整数:表示可以安放的最大病床数量。

Sample Input Copy

7 5
2

Sample Output Copy

6

Source/Category