➤ Problem Link : 1A. Theatre Square
✅ C++ Solution :
#include<bits/stdc++.h>
using namespace std;
#define
ll long long int
int main()
{
double n,m,a;
ll x,y;
cin>>n>>m>>a;
x=ceil(n/a);
y=ceil(m/a);
cout<<x*y<<"\n";
}
Thank you for your patience reading. If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Whatsapp or Facebook.
😇Happy Learning!!
