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:
parent
b9b24a49d6
commit
bffdf49fac
12
problem/CF1A/CF1A.cpp
Normal file
12
problem/CF1A/CF1A.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user