import sys """ 评论区有些人用的数学做的,好强 递归:结果出现,在完全投入前及时止损,不需要完全遍历 """ def fun(sum_3, sum_5, nums_other): if len(nums_other) == 0: if sum_3 == sum_5: return True else: return False else: fun1 = fun(sum_3 + nums_other[0], sum_5, nums_other[1::]) fun2 = fun(sum_3, sum_5 + nums_oth...