AOJ : 2297 - Rectangular Stamps - Respect2Dの日記

問題概要 http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2297 日本語の問題文なので, 説明は省略です.