| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147382 | 赖泓宇 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 260 | 2026-02-04 16:59:30 |
#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;
^