| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68941 | 万隽宇 | 生理周期 | C++ | Wrong Answer | 368 MS | 264 KB | 426 | 2024-03-28 19:33:47 |
# include<iostream> using namespace std; int main(){ long long p,e,i,d; cin>>p>>e>>i>>d; for(int j=0;j<924;j++){ for(int k=0;k<759;k++){ for(int n=0;n<644;n++){ if(((p+j*23)==(e+j*28))&&((p+j*23)==(i+n*33))){ cout<<"the next triple peak occurs in "<<p-d<<" days"; return 0; } } } } }
------Input------
51 3 94 38
------Answer-----
the next triple peak occurs in 749 days.
------Your output-----