0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-10 08:38:49 +00:00

CF1A Theatre Square

R38986370
This commit is contained in:
Baoshuo Ren 2020-09-28 20:13:24 +08:00 committed by Baoshuo Ren
parent b9b24a49d6
commit bffdf49fac
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

12
problem/CF1A/CF1A.cpp Normal file
View File

@ -0,0 +1,12 @@
// R38986370
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, n, m;
cin >> n >> m >> a;
cout << (long long)(ceil(n / (double)a) * ceil(m / (double)a)) << endl;
return 0;
}