标签:
题目大意;
#include <iostream> #include <cmath> #include <algorithm> #include <string> #include <deque> #include <cstring> #include <cstdio> #include <vector> #include <set> #include <map> #include <queue> #include <cstdlib> using namespace std; typedef long long LL; const LL INF = 0xffffff; const int maxn = 201315; const LL MOD = 1e9+7; int main() { LL n, m, a, x, y; cin >> n >> m >> a; x = (n + a - 1)/a; y = (m + a - 1)/a; cout << x * y << endl; return 0; }
标签:
原文地址:http://www.cnblogs.com/chenchengxun/p/4836979.html