组合题6 个小题
已作答 0 / 6
1#include <iostream>2using namespace std;3 4unsigned short f(unsigned short x) {5 x ^= x << 6;6 x ^= x >> 8;7 return x;8}9int main() {10 unsigned short x;11 cin >> x;12 unsigned short y = f(x);13 cout << y << endl;14 return 0;15}假设输入的 x 是不超过 65535 的自然数,完成下面的判断题和单选题:
当输入为 64 时,执行完第 5 行后 x 的值为()。