| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79776 | sh25_wangtaojie | 高低位交换 | C++ | 通过 | 0 MS | 252 KB | 280 | 2026-01-04 14:42:43 |
#include <iostream> using namespace std; int main() { unsigned int num; cin >> num; unsigned int high = (num >> 16) & 0xFFFF; unsigned int low = num & 0xFFFF; unsigned int result = (low << 16) | high; cout << result << endl; return 0; }