| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157482 | 李沐阳 | 生理周期 | C++ | Accepted | 217 MS | 276 KB | 353 | 2026-07-24 13:20:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int t,q,z,d; cin>>t>>q>>z>>d; for(int i=1;i<=21252/23;i++){ for(int j=1;j<=21252/28;j++){ for(int k=1;k<=21252/33;k++){ if(t+i*23==q+j*28&&q+j*28==z+k*33){ printf("the next triple peak occurs in %d days.\n",i*23+t-d); return 0; } } } } return 0; }