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

查看11道真题和解析