#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
long long n,m,a,b,c;
scanf("%lld%lld%lld",&n,&m,&a);
b=(n-1)/a+1;
c=(m-1)/a+1;
printf("%lld\n",b*c);
}
cf 1a Theatre Square
最新推荐文章于 2019-04-17 15:10:24 发布