题解 | #奇偶统计#
奇偶统计
https://www.nowcoder.com/practice/04de8eb0ecab426fa6be3ae99af17210
n = int(input()) a = int(n/2) if n % 2 == 0: print(a,a) else: print(a+1,a)
奇偶统计
https://www.nowcoder.com/practice/04de8eb0ecab426fa6be3ae99af17210
n = int(input()) a = int(n/2) if n % 2 == 0: print(a,a) else: print(a+1,a)
相关推荐