dpdag专题

UVa 437 The Tower of Babylon (DPDAG)

437 - The Tower of Babylon Time limit: 3.000 seconds  http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=114&page=show_problem&problem=378 思路: 对于一个(x,y,z)砖头,它可以有3中姿势放置