UVa12113 - Overlapping Squares

題目出處:https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3265

解題策略:找出所有九個位置的六個以內方形的所有可能性,判斷輸入是否是其中一個可能。