| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78504 | 王郡翊 | 19神秘数字 | C++ | Compile Error | 0 MS | 0 KB | 277 | 2024-06-22 14:03:24 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main() { for(int i=0;i<=10000;i++){ int n=((a*8+7)*8+1)*8+1; int a=(34*a+15)*17+4; } if(n==a){ cout<<i; break; } return 0; }
Main.cc: In function 'int main()':
Main.cc:11:11: error: 'a' was not declared in this scope
int n=((a*8+7)*8+1)*8+1;
^
Main.cc:11:7: warning: unused variable 'n' [-Wunused-variable]
int n=((a*8+7)*8+1)*8+1;
^
Main.cc:15:5: error: 'n' was not declared in this scope
if(n==a){
^
Main.cc:15:8: error: 'a' was not declared in this scope
if(n==a){
^
Main.cc:16:9: error: 'i' was not declared in this scope
cout<