UVA764 Pentominos

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=9&page=show_problem&problem=705 [PDF](https://uva.onlinejudge.org/external/7/p764.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA764/8dd501dcff5b5446aacc93183a145b652f13f59c.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA764/43451bc017f5ffe34ac4fd07621b914b6f21ef26.png)

Output Format

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