| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137184 | 顾文博 | 生理周期 | C++ | Time Limit Exceeded | 1000 MS | 264 KB | 512 | 2025-11-16 15:07:31 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int p,e,i,d; cin>>p>>e>>i>>d; for(int j=1;;j++){ p+=23; e+=28; i+=33; while(p==e==i){ break;return 0; } } cout<<"the next triple peak occurs in "<<i-d<<"days."; return 0; }