UVA491 Tile Topology

Description

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

Input Format

N/A

Output Format

N/A