rt,根据原题面 PDF,下图代码中应在 2,3 行之间插入空行,即:
using namespace std; unsigned short f(unsigned short x){...
否则会导致下面用到行号的题出错。