Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157444 余建成 生理周期 C++ Compile Error 0 MS 0 KB 460 2026-07-23 22:30:48

Tests(0/0):


Code:

#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,t; while(cin>>p>>e>>i>>d&&p!=-1){ ++t; int k; for(k=d+1;(k-p)%23;++k) for(;(k-e)%28;k+=23){ cout<<t<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:17:1: error: expected '}' at end of input
 }
 ^