| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137371 | 王晨逸 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 249 | 2025-11-17 16:22:52 |
#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:15:2: error: expected '}' at end of input } ^