咋不通过嘞
查看原帖
咋不通过嘞
1511866
Eletronic_Monkey楼主2024/10/15 22:53
#include<stdio.h>
int main()
{
	int high,length,n=1;
	scanf("%d %d",&high,&length);
	float volume=3.14*length*length*high;
	while(volume<=20000)
	{
		n++;
		volume*=n;
	}
	printf("%d",n);
}

2024/10/15 22:53
加载中...