110,567
社区成员
发帖
与我相关
我的任务
分享
static void Calc()
{
double x, y;
for(int i = 1; i < 150; i++)
{
x = 24.5 / i;
y = 32.0 / (150 - i);
if ( x * (150 - i) == y * i)
{
Console.WriteLine(i);
break;
}
}
}