题解 | #汽水瓶#
汽水瓶
https://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
while True: n=int(input()) if n==0: break else: k=n%2 m=n//2 res=m print(m)
汽水瓶
https://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
while True: n=int(input()) if n==0: break else: k=n%2 m=n//2 res=m print(m)
相关推荐