Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77864 吴梓玄 生理周期 Python3 Accepted 37 MS 3776 KB 196 2024-06-15 16:32:19

Tests(10/10):


Code:

p,e,i,d=map(int, input().split(" ")) a=p+1 while((a-p)%23): a+=1 while ((a-e)%28): a+=23 while ((a-i)%33): a+=23*28 print('the next triple peak occurs in {} days.'.format(a-d))