填充矩形C++
题目:
代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a,b,c;
cin>>a>>b>>c;
cout<<(a/c)*(b/c);
return 0;
}
题目:
代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a,b,c;
cin>>a>>b>>c;
cout<<(a/c)*(b/c);
return 0;
}