| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76290 | cfx | 最大公约数 | C++ | Compile Error | 0 MS | 0 KB | 221 | 2024-06-02 10:47:10 |
#inlucde<bits/stdc++.h> using namespace std; int main() { int m,n,gcd; cin>>m>>n; gcd=a%b; while(gcd!=0) { m=n; n=gcd; gcd=a%b; } cout<<n; return 0; }
Main.cc:1:2: error: invalid preprocessing directive #inlucde
#inlucde
^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
cin>>m>>n;
^
Main.cc:7:9: error: 'a' was not declared in this scope
gcd=a%b;
^
Main.cc:7:11: error: 'b' was not declared in this scope
gcd=a%b;
^
Main.cc:14:5: error: 'cout' was not declared in this scope
cout<