UVA11785 Hypercube

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=117&page=show_problem&problem=2885 [PDF](https://uva.onlinejudge.org/external/117/p11785.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11785/f70fef8a108b5af873cf60b33d7cbf066e8dfc37.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11785/8925933a845fe124e2f2f14ae949b3b848aa0128.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11785/038457a90f5c3e43f34b9f98332d990ff39ede59.png)