| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129795 | 陈奕涵 | 生理周期 | C++ | Compile Error | 0 MS | 0 KB | 404 | 2025-09-06 15:04:09 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int p,e,i,d; cin>>p>>e>>i>>d; for(int t=1;t<=924;t++){ for(int q=1;q<=759;q++){ for(int z=1;z<=644;z++){ if(((p+t*23)==(e+q*28)&&((p+t*23)==(i+z*33))){ printf("the next triple peak occurs in %d days."<<p+t*23-d) } } } } return 0; }
Main.cc: In function 'int main()':
Main.cc:12:53: error: expected ')' before '{' token
if(((p+t*23)==(e+q*28)&&((p+t*23)==(i+z*33))){
^
Main.cc:15:4: error: expected primary-expression before '}' token
}
^