| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 122903 | 王子涵 | 19神秘数字 | C++ | Compile Error | 0 MS | 0 KB | 220 | 2025-06-22 09:12:11 |
#include<bits/stdc++.h> using namespace std; int main(){ int x1,x2,a; for(int a=1;a++) { x1=((a*8+7)*8+1)*8+1; x2=17*(2*a*17+15)+4; if(x1==x2) { cout<<x1; break; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:17: error: expected ';' before ')' token
for(int a=1;a++)
^
Main.cc:4:12: warning: unused variable 'a' [-Wunused-variable]
int x1,x2,a;
^