题解 | #牛牛的水杯#
牛牛的水杯
http://www.nowcoder.com/practice/c196c47c23394bf3bdd4f82a838df6bf
a, b = input().split()
R = int(a)*3.14*int(b)**2
if 10000%R>0:
print(int(10000//R+1))
else:
print(10000/R)
牛牛的水杯
http://www.nowcoder.com/practice/c196c47c23394bf3bdd4f82a838df6bf
a, b = input().split()
R = int(a)*3.14*int(b)**2
if 10000%R>0:
print(int(10000//R+1))
else:
print(10000/R)
相关推荐