UVA10232 Bit-wise Sequence

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1173 [PDF](https://uva.onlinejudge.org/external/102/p10232.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10232/83373755f136c3233db45b0e47460f6618616672.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10232/2e5129222c7c1ecdad9dd04a0047f74a877b71f4.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10232/70477d6c0b53e2fade8f44066fa25e04b6051900.png)