Notice: Undefined index: name in /usr/www/lib/views/home/viewtitle.html on line 188
-阅读程序 第 16 题
#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;
}
假设输入的x是不超过65535的自然数,完成下面的判断题和单选题
● 判断题
第 1 题 当输入非零时,输出一定不为零( )
第 2 题 将f函数的输入参数的类型改为unsigned int,程序的输出不变( )
第 3 题 当输入为“65535”时,输出为“63”( )
第 4 题 当输入为“1”时,输山为“64”。
● 单选题
第 5 题 当输入为“512”时,输出为( )
第 6 题 当输入为“64”时,执行完第5行后x的值为( )

解答部分以后会开放。