摘要: 比较有意思的一个题,虽然不知道为什么这么做。。。看样例就可以发现一般是w_ _b wb_ _bw只能这样4种操作。。。没想到就这样过了。。注意了一下20个换行,2Y。。。我开始还在想bfs还想过,直接构造,构造不出来。。。 1 /* 2 ID:cuizhe 3 LANG: C++ 4 TASK: shuttle 5 */ 6 #include <iostream> 7 #include <cstdio> 8 #include <map> 9 #include <algorithm> 10 #include <cstring> 11 # 阅读全文
posted @ 2013-03-29 14:29 Naix_x 阅读(166) 评论(0) 推荐(0) 编辑