码迷,mamicode.com
首页 >  
搜索关键字:front    ( 2274个结果
广度优先搜索(bfs)
学了将近半年的信息了,昨天猛地间发现我好像不会搜索。。。。 这就意味着我在noip的时候连暴力都不会打。。。为了避免这种事情的发生,我决定一定要好好学搜索。。 好了,废话不多说了,下面开始我们的正式话题:广度优先搜索 1.前言 广度优先搜索其实是一种用来遍历连通图的一种算法,它的思想是从一个顶点V0 ...
分类:其他好文   时间:2017-06-03 17:19:58    阅读次数:277
字符串前面自动补零
public class front0add { public static void main(String[] args) { // TODO Auto-generated method stub String newString = String.format("%04d",718); Sys... ...
分类:其他好文   时间:2017-06-01 13:52:23    阅读次数:131
综述类文章(Peng 等)阅读笔记Cross-media analysis and reasoning: advances and directions
综述类文章 Cross-media analysis and reasoning: advances and directions Yu-xin PENG et al. Front Inform Technol Electron Eng 浙江大学学报(英文版)2017 18(1):44-57 这篇文 ...
分类:其他好文   时间:2017-05-31 17:31:30    阅读次数:499
UIView的层介绍
UIView的层介绍 subview在西安市到屏幕上时。是位于superview上层的。 同一个view的subview时依照增加的顺序显示相应层的。越晚增加的subview显示在越上层。反之也是如此。 用superview能够直接管理subview的层。 -(void)insertSubview: ...
分类:其他好文   时间:2017-05-31 14:31:27    阅读次数:173
use glyphs icons
著名的前端图标库glyphs,提供了大量美观的icon,很适合中小网站使用,而且是免费的。但是其使用方式有一点特别,这里说明下: —————————————————————————— glyphs is a famous front-end icon set. to use it is a litt ...
分类:其他好文   时间:2017-05-31 14:06:05    阅读次数:144
POJ2251——Dungeon Master(三维BFS)
和迷宫问题区别不大,相比于POJ1321的棋盘问题,这里的BFS是三维的,即从4个方向变为6个方向。 用上队列的进出操作较为轻松。 ...
分类:其他好文   时间:2017-05-31 12:01:06    阅读次数:175
LeetCode 232: Implement Queue using Stacks
Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front ...
分类:其他好文   时间:2017-05-30 20:57:20    阅读次数:196
poj 1144 Network
Network http://poj.org/problem?id=1144 Time Limit: 1000MS Memory Limit: 10000K Description A Telephone Line Company (TLC) is establishing a new teleph ...
分类:Web程序   时间:2017-05-30 17:57:47    阅读次数:274
uva-784-水题-搜索
题意:从*点开始,标记所有能走到的点,X代表墙,下划线原样输出 AC:40ms ...
分类:其他好文   时间:2017-05-30 16:12:07    阅读次数:181
迷宫问题(BFS+保存路径) POJ No.3984
Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, }; 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走 ...
分类:其他好文   时间:2017-05-29 19:17:50    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!