| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145187 | 于墨轩 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 256 | 2026-01-25 09:21:33 |
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; if (a > b) { // 交换a和b的值 int temp = a; a = b; b = temp; } cout << a << " " << b << endl; return 0;
Main.cc: In function 'int main()':
Main.cc:16:12: error: expected '}' at end of input
return 0;
^