求助代码:10分
#include <bits/stdc++.h>
using namespace std;
int s;
double n,a,b,c,d;
int main()
{
cin>>n;
for(int i=0;i<=100;i++)
{
a=100-i;
a/=100;
for(int j=0;j<=100;j++)
{
b=100-j;
b/=100;
for(int k=0;k<=100;k++)
{
c=100-k;
c/=100;
for(int l=0;l<=100;l++)
{
d=100-l;
d/=100;
if(a*b*c*d==n) s++;
}
}
}
}
cout<<s;
return 0;
}