| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147453 | 曾钰涵 | 满足条件的数 | C++ | Compile Error | 0 MS | 0 KB | 224 | 2026-02-05 11:24:33 |
#include<iostream> using namespace std; int main(){ int a b c,x; cin>>a>>b>>c; while(1){ if(x/a==2&&x/b==2&&x/c==2){ cout<<x; break; } x++; } return 0; }
Main.cc: In function 'int main()':
Main.cc:4:11: error: expected initializer before 'b'
int a b c,x;
^
Main.cc:5:10: error: 'a' was not declared in this scope
cin>>a>>b>>c;
^
Main.cc:5:13: error: 'b' was not declared in this scope
cin>>a>>b>>c;
^
Main.cc:5:16: error: 'c' was not declared in this scope
cin>>a>>b>>c;
^
Main.cc:7:10: error: 'x' was not declared in this scope
if(x/a==2&&x/b==2&&x/c==2){
^
Main.cc:11:9: error: 'x' was not declared in this scope
x++;
^