| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137255 | 彭士宝 | 公约数问题 | Python3 | Compile Error | 0 MS | 0 KB | 288 | 2025-11-16 22:10:17 |
#include <iostream> using namespace std; int gcd(int a, int b) { if (b == 0) { return a; } else { return gcd(b, a % b); } } int main() { int x, y; cin >> x >> y; int result = gcd(x, y); cout << result << endl; return 0; }
File "Main.py", line 2
using namespace std;
^
SyntaxError: invalid syntax