Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5868 | 李伟和 | 变量交换输出 | C++ | Accepted | 3 MS | 260 KB | 274 | 2024-12-20 17:48:57 |
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, temp, temp1; cin >> a >> b >> c; temp = a; temp1 = b; a = c; b = temp; c = temp1; cout << a<<endl; cout << b<<endl; cout << c<<endl; return 0; }