def serche(list1): num = 1 while True: if num not in list1: print(num) break num+=1
给定一个整数数组,找出数组中不存在的最小的正整数
猜你喜欢
转载自www.cnblogs.com/vanoraxnc/p/10387856.html
今日推荐
周排行