Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
81137 sh25_zhangyy 交换变量 C++ 通过 0 MS 244 KB 239 2026-01-04 15:39:47

Tests(1/1):


#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; }


测评信息: