题解 | #取近似值#
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
while True:
try:
print(int(float(input()) +0.5))
except:
break
try:
print(int(float(input()) +0.5))
except:
break
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
相关推荐