题解 | #牛牛的水杯#
牛牛的水杯
https://www.nowcoder.com/practice/c196c47c23394bf3bdd4f82a838df6bf
#include <stdio.h>
int main() {
int r, h,z;
float PI=3.14,v;
scanf("%d %d",&h,&r);
v = PI*h*(r*r);
z = 10*1000;
printf("%d",z/(int)v+1);
return 0;
}