import sys inputStr = sys.stdin.readline() year, month, day = map(int, inputStr.split()) # 判断闰年:能被4整除但不能被100整除的年份是闰年 if year % 4 == 0 and year % 100 != 0: dict1 = { 1: 31, 2: 29, 3: 31, 4: 30, 5: 31, 6: 30, 7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31, } else: dict1 = { 1: 31, 2: 28, 3: 31, 4: 30, 5:...