标签:alt class names turn http The 分享 out pac
题目链接
http://codeforces.com/problemset/problem/1/A
#include<iostream> using namespace std; int main() { long long n,m,a; cin>>n>>m>>a; long long a1,a2; if(n%a!=0) { a1=n/a+1; }else { a1=n/a; } if(m%a!=0) { a2=m/a+1; }else { a2=m/a; } long long sum; sum=a1*a2; cout<<sum; return 0; }
标签:alt class names turn http The 分享 out pac
原文地址:https://www.cnblogs.com/CMlhc/p/9192541.html