← 查看本卷题目
组合题6 个小题
已作答 0 / 6
#include <iostream>using namespace std; unsigned short f(unsigned short x) {    x ^= x << 6;    x ^= x >> 8;    return x;}int main() {    unsigned short x;    cin >> x;    unsigned short y = f(x);    cout << y << endl;    return 0;}

假设输入的 xx 是不超过 6553565535 的自然数,完成下面的判断题和单选题:

第20题单选题原卷 3 分

当输入为 512 时,输出为()。

填写答案