lst = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] def is_leap_year(y): if y % 4 == 0: if y % 100 == 0 and y % 400 != 0: return 0 return 1 else: return 0 if __name__ == '__main__': y, m, d = map(int, input().split()) if m > 12 or m < 1: print('月数值非法') if is_leap_year(y) == 1: lst[2] = 2...