
BFS 队列
文章平均质量分 88
a1204675546
.zzz
展开
-
bfs 队列的使用
Plague Inc. is a famous game, which player develop virus to ruin the world.JSZKC wants to model this game. Let's consider the world has N\times MN×M cities. The world has NN rows and MMcolumns...原创 2018-07-24 17:55:28 · 565 阅读 · 0 评论 -
BFS
题目: 51Nod 1384 全排序 点此链接 给出一个字符串S(可能有重复的字符),按照字典序从小到大,输出S包括的字符组成的所有排列。例如:S = "1312",输出为: 112311321213123113121321211321312311311231213211...原创 2018-07-25 14:57:01 · 211 阅读 · 0 评论