Python最大社交距离 def find_seat(seatNum, seatOrLeave):seats = [0] * seatNum # 0表示座位空,1表示座位被占用last_seat = -1for action in seatOrLeave:if action == 1: 社交 python input distance actio 2025-03-14 13:17 2