Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100106 | 丁俊杰 | 生理周期 | Python3 | Accepted | 37 MS | 3772 KB | 214 | 2024-12-02 12:44:30 |
p,e,i,d=map(int,input().split()) t=d+1 while (t-p)%23!=0: t+=1 while (t-e)%28!=0: t+=23 while (t-i)%33!=0: t=t+23*28 res=t-d print("the next triple peak occurs in {} days.".format(res))