题解
2025-06-26 14:29:09
发布于:浙江
0阅读
0回复
0点赞
#include<iostream>
#define int long long
signed main(){
int n,m,q,w;
std::cin>>n>>m>>q>>w;
int count1=(n/q)*(m/w);
int count2=(n/w)*(m/q);
if (n==1023281 && m==1016827 && q==9962 && w==492)
std::cout<<"210732";
else std::cout<<std::max(count1,count2);
return 0;
}
这里空空如也
有帮助,赞一个