Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93702 丁俊杰 今年的第几天 Python3 Wrong Answer 32 MS 3776 KB 189 2024-10-19 09:18:59

Tests(0/1):


Code:

year,month,day=map(int,input().split()) days=[31,29,31,30,31,30,31,31,30,31,30,31] if (year%4==0 and year%100!=0) or year%400==0: days[1]=28 s=sum(days[0:month-1])+day print(s)


Run Info:

------Input------
1236 3 31
------Answer-----
91
------Your output-----
90