UVA13081 XOR Sequence Revisited

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=866&page=show_problem&problem=4979 [PDF](https://uva.onlinejudge.org/external/130/p13081.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13081/8ccc59bd9db3bd04a4968cccd439fee3aebe4575.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13081/9ce2438d64259c98ef678d1e25948983b3a1b9c2.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13081/bf1e1d52ad2d0628cf875d1e579edab52c41a33b.png)