采用位运算,就能让这道题很水
#include <bits/stdc++.h>
using namespace std;
int main()
{
unsigned int x;
cin>>x;
cout<<((x<<16)+(x>>16));
return 0;
}
采用位运算,就能让这道题很水
#include <bits/stdc++.h>
using namespace std;
int main()
{
unsigned int x;
cin>>x;
cout<<((x<<16)+(x>>16));
return 0;
}