码迷,mamicode.com
首页 >  
搜索关键字:front    ( 2274个结果
习题3.12 另类循环队列 (20分)
理解 理解: 实现循环队列 队首Q->Front=(Q->Front+1)%Q->MaxSize; 队尾Q->Rear=(Q->Front+Q->Count)%Q->MaxSize; 删除操作:移动队首,计数器Count--; 插入操作:先执行计数器Count++,在执行向后移动队尾(这里也可以先移 ...
分类:其他好文   时间:2017-04-12 03:56:49    阅读次数:227
poj2251_kuagnbin带你飞专题一
Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 32684 Accepted: 12529 Description You are trapped in a 3D dungeon and need t ...
分类:其他好文   时间:2017-04-12 03:16:33    阅读次数:154
[LeetCode] Brick Wall 砖头墙壁
There is a brick wall in front of you. The wall is rectangular and has several rows of bricks. The bricks have the same height but different width. Yo ...
分类:其他好文   时间:2017-04-12 01:57:07    阅读次数:193
SharePoint 2016 图文安装教程
安装完毕SQL Server,就可以开始安装SharePoint 2016 准备工具了,打开镜像文件,点击准备工具的可执行文件,如下图: 准备工具的向导,如下图: 所有准备工具,需要安装这么一系列软件,如下图: ? Application Server Role, Web Server (IIS) ...
分类:其他好文   时间:2017-04-11 00:50:52    阅读次数:540
[leetcode-554-Brick Wall]
There is a brick wall in front of you. The wall is rectangular and has several rows of bricks.The bricks have the same height but different width. You ...
分类:其他好文   时间:2017-04-09 14:58:21    阅读次数:186
bfs Knight Moves
可以自行理解,没啥好讲的,在脑子里自己跑跑就懂了。 ...
分类:其他好文   时间:2017-04-08 21:39:58    阅读次数:181
HIT1917Peaceful Commission(2-SAT)
Peaceful Commission Source : POI 2001 Time limit : 10 sec Memory limit : 32 M Submitted : 2112, Accepted : 641 Source : POI 2001 Time limit : 10 sec M ...
分类:其他好文   时间:2017-04-08 16:16:53    阅读次数:230
ssh GUI in local Ubuntu14.04
1.In ssh service agent (controlled computer),find /etc/ssh/sshd_config,make sure [ X11Forwarding yes ],note no [ # ] in front of [ X11Forwarding ],and ...
分类:系统相关   时间:2017-04-08 12:21:56    阅读次数:275
【算法导论】--C++实现广度优先搜索bfs
一、题目 根据上次随机生成的100个顶点的无向图和有向图,对其进行广度优先搜索。 二、理解广度优先搜索 广度优先搜索可以将其想象成水滴落入水面溅起了的一圈一圈的涟漪,是由一个起始点开始一圈一圈进行扩散搜索的。 【课上老师是这样说的,大家想象一下,发现其实非常形象】 广度优先搜索总是从一个起始点出发, ...
分类:编程语言   时间:2017-04-08 12:16:18    阅读次数:375
JS优先队列排序。出队时,先找出优先级最高的元素,再按照先进先出出队。
JS优先队列排序。出队时,先找出优先级最高的元素,再按照先进先出出队。 ...
分类:编程语言   时间:2017-04-07 15:42:23    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!