HDU 1811 Rank of Tetris(并查集+拓扑排序 非常经典)

NoSuchKey