好吧,BFS用模版还是比较好理解的。这代码能AC- -Problem DescriptionYou're in space.You want to get home.There are asteroids.You don't want to hit them.InputInput to this problem will consist of a (non-empty) series of up to 100 data sets. Each data set will be formatted according to the following description, an Read More
posted @ 2013-06-07 23:44 瓶哥 Views(216) Comments(1) Diggs(0) Edit