| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147455 | 余建成 | 满足条件的数 | C++ | Compile Error | 0 MS | 0 KB | 211 | 2026-02-05 11:29:07 |
#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int 1=2 while(1) { if(a%i)==(b%i)==(c%i) { cout<<i<<endl; break; } i++ } return 0; }
Main.cc: In function 'int main()':
Main.cc:7:9: error: expected unqualified-id before numeric constant
int 1=2
^
Main.cc:18:1: error: expected '}' at end of input
}
^