📅  最后修改于: 2022-03-11 14:56:04.605000             🧑  作者: Mango
//Hello Kumkum, This code is constributed by me!! Tanishqqqqqq
#include
using namespace std;
int main()
{
double n, m, a;
cin >> n >> m >> a;
cout << (long long)ceil(n / a) * (long long)ceil(m / a) << endl;
}