5 条题解
-
-3
#include<iostream> #include<cmath> using namespace std; int main(){ long long n,m,a; cin>>n>>m>>a; long long s=ceil((double)n/(double)a); long long w=ceil((double)m/(double)a); cout<<s*w<<endl; return 0; }
- 1
信息
- ID
- 7102
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 3
- 标签
- 递交数
- 169
- 已通过
- 59
- 上传者