HDU2647 Reward (拓扑排序、反向建图)

NoSuchKey