Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
77862 | 汤弘毅 | 生理周期 | Python3 | Accepted | 40 MS | 3800 KB | 214 | 2024-06-15 16:29:51 |
p, e, i ,d = map(int,input().split()) n = 1 a = p+1 while ((a-p)%23): a = a+1 while ((a-e)%28): a=a+23 while ((a-i)%33): a = a+23*28 print('the next triple peak occurs in {} days.'.format(a-d))