题解
2024-05-13 13:13:50
发布于:广东
16阅读
0回复
0点赞
x是高位和低位的分隔线
#include <iostream>
#include <cstdio>
using namespace std;
int a[100005];
const unsigned x = 1 << 16;
int main(){
unsigned n;
cin >> n;
unsigned n1 = n / x, n2 = n % x;
cout << n2 * x + n1;//交换
return 0;
}
这里空空如也
有帮助,赞一个