答案是对的,提交后一直——正在等待编译……
查看原帖
答案是对的,提交后一直——正在等待编译……
487231
我是永远的神楼主2021/8/17 09:56
#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;//n,m,a
	cin>>a>>b>>c;
	int q,w;
	if (a%c==0)q=a/c;
	else q=a/c+1;
	if (b%c==0)w=b/c;
	else w=b/c+1;
	cout<<q*w<<endl;
 	return 0;
}
2021/8/17 09:56
加载中...