x = float(input())
y = int(x)
xsd = x-y
if xsd < 0.5:
print(y)
else:
print(y+1)
y = int(x)
xsd = x-y
if xsd < 0.5:
print(y)
else:
print(y+1)
我已经通过这道题!
https://gw-c.nowcoder.com/api/sparta/jump/link?link=https%3A%2F%2Fwww.nowcoder.com%2FquestionTerminal%2F3ab09737afb645cc82c35d56a5ce802a
全部评论
相关推荐
点赞 评论 收藏
分享
09-30 10:14
华南师范大学 C++ 牛客大王八:啊unity ue双通很难得,我估计知道为啥不给转正了,你项目都是unity开发着重点都在unity上结果你ue实习
点赞 评论 收藏
分享

查看5道真题和解析