for the above question, I am getting the correct answer…

in the solution set, they took n,m, a as double and then the answer is coming correct.

anyone help me out with this

#include

#include<bits/stdc++.h>

#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);

#define endl “\n”

#define input for(int i=0;i<n;i++)cin>>arr[i];

typedef long long int ll;

using namespace std;

int main() {

```
ll n,m,a;
cin>>n>>m>>a;
ll num = ceil(n/a)*ceil(m/a);
cout<<num;
return 0;
```

}