UVA446 Kibbles "n" Bits "n" Bits "n" Bits

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=387 [PDF](https://uva.onlinejudge.org/external/4/p446.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA446/e264fc41ae1fb4aebad67b355f59f879f1636d70.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA446/97db8716bbb77944005c1e877db27d47de526b12.png)