第一题过了,第二题过了一点(没考虑不连续情况),第三题没试过(复盘写出来的) import copy def question_1(): while True: try: s1 = list(map(str, input().strip().split())) s1 = s1[0] k = 1 value_ = [] for i in range(len(s1)): if i == len(s1)-1: ...