- 博客(1)
- 收藏
- 关注
原创 python 判断出现奇数次
python 判断出现奇数次 异或方法: while True: try: n=int(input()) num=list(map(int, input().split(' '))) res=0 for i in num: res^=i print(res) except: break count函数: n=int(input()) a=list(map(str, inp
2020-10-27 16:32:18
219
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人