奇怪问题 求助
查看原帖
奇怪问题 求助
1179676
WayneLiu楼主2024/10/31 16:44
#include <iostream>
using namespace std;
unsigned int n;
int main() {
	cin >> n;
	cout << (n & 0xffff) * 0xffff + (n >> 16);
	return 0;
}
#include <iostream>
using namespace std;
unsigned int n;
int main() {
	cin >> n;
	cout << (n << 16) + (n >> 16);
	return 0;
}
2024/10/31 16:44
加载中...