线性表/队列/栈
wuyileiju__
只要你愿意努力,世界就会给你惊喜!
展开
-
CSU->1019: Simple Line Editor
1019: Simple Line Editor Time Limit: 1 Sec Memory Limit: 128 Mb DescriptionEarly computer used line editor, which allowed text to be created and changed only within one ...原创 2018-07-12 10:06:40 · 149 阅读 · 0 评论 -
搜索->BFS小结
一、BFS的介绍BFS(广度优先搜索,也可称宽度优先搜索)是连通图的一种遍历策略。因为它的基本思想是从一个顶点V0开始,辐射状地优先遍历其周围较广的区域。广度优先搜索(BFS)类似于二叉树的层序遍历算法,它的基本思想是:首先访问起始顶点v,然后由v出发,依次访问v的各个未被访问过的邻接顶点w1,w2,w3….wn,然后再依次访问w1,w2,…,wi的所有未被访问过的邻接顶点,再从这些访问过的...原创 2018-07-15 10:41:02 · 596 阅读 · 0 评论 -
2031: Barareh on Fire
2031: Barareh on Fire Time Limit: 3 Sec Memory Limit: 512 Mb DescriptionThe Barareh village is on fire due to the attack of the virtual enemy. Several places are alread...原创 2018-07-15 10:43:47 · 279 阅读 · 0 评论