| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 89455 | sh25_zhangjiajia | 交换变量 | C++ | 通过 | 1 MS | 244 KB | 239 | 2026-06-05 14:25:50 |
#include <iostream> using namespace std; void swap(int &a, int &b) { int temp = a; a = b; b = temp; } int main() { int x, y; cin >> x >> y; swap(x, y); cout << x << " " << y << endl; return 0; }