#include <bits/stdc++.h>
using namespace std;
int main()
{
int cnt=0;
for(int a=1;a<711;a++)
for(int b=1;b<711-a;b++)
for(int c=1;c<711-a-b;c++)
{
int d=711-a-b-c;
cnt++;
if(a*b*c*d==711000000)cout<<a*1.0/100<<' '<<b*1.0/100<<' '<<c*1.0/100<<' '<<d*1.0/100<<endl;
}
cout<<"共计算:"<<cnt<<"次"<<endl;
}
03-17
2460
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交