UVA13264 Easy Tiling Problem

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=878&page=show_problem&problem=5188 [PDF](https://uva.onlinejudge.org/external/132/p13264.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13264/a84e0b61690e56cb5d5a7c3e4e15c4a9148351c2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13264/1f42893abfc519a6fc4b8e8862c8f769057fa9d3.png)

Output Format

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