码迷,mamicode.com
首页 >  
搜索关键字:red and black    ( 15777个结果
Ubuntu下deb包的安装方法
deb是debian linus的安装格式,跟red hat的rpm很类似,最主要的安装命令是:dpkg -i file.deb dpkg 是Debian Package的简写,是为Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。全部源自Debian的Linux发行版都使用dpkg...
分类:其他好文   时间:2014-09-24 01:33:55    阅读次数:196
Red Hat Enterprise Linux Server release 7.0双系统安装
Red Hat Enterprise Linux Server release 7.0双系统安装 1.RedHat 公司的企业版7.0已经发布了。下面介绍一下在7.0下装双系统的步骤。 安装前系统:WIN7 要安装的第二个系统:RedHat Enterprise 7.0 @请注意:WIN...
分类:系统相关   时间:2014-09-23 23:40:15    阅读次数:349
HDU 2045 不容易系列之(3)—— LELE的RPG难题
Problem Description 人称“AC女之杀手”的超级偶像LELE最近忽然玩起了深沉,这可急坏了众多“Cole”(LELE的粉丝,即"可乐"),经过多方打探,某资深Cole终于知道了原因,原来,LELE最近研究起了著名的RPG难题: 有排成一行的n个方格,用红(Red)、粉(Pink)、绿(Green)三色涂每个格子,每格涂一色,要求任何相邻的方格不能同色,且首尾两格也不同色....
分类:其他好文   时间:2014-09-23 01:44:36    阅读次数:229
Redis附加功能之Redis事务
一、事务Redis 的事务功能允许用户将多个命令包裹起来,然后一次性地、按顺序地执行被包裹的所有命令。在事务执行的过程中,服务器不会中断事务而改去执行其他命令请求,只有在事务包裹的所有命令都被执行完毕之后,服务器才会去处理其他命令请求。事务示例:现在, 让我们假设 SETEX 命令并不存在于 Red...
分类:其他好文   时间:2014-09-22 20:31:03    阅读次数:218
HDU 5024 (广州网络赛) Wang Xifeng's Little Plot 记忆化搜索+枚举
Problem Description 《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly regarded as the best one. This novel...
分类:其他好文   时间:2014-09-22 17:39:12    阅读次数:209
Javascript 匿名函数与闭包
请见如下一个闭包示例:color = "red";var obj = { color: "blue", getColor: function () { function displayColor() { return this.color; ...
分类:编程语言   时间:2014-09-21 04:12:10    阅读次数:208
HDU - 5024 Wang Xifeng's Little Plot
Problem Description 《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly regarded as the best one. This novel ...
分类:其他好文   时间:2014-09-20 21:15:59    阅读次数:267
HDU 5024 Wang Xifeng's Little Plot(2014广州网络赛1003)
写了1h的DFS,简直被自己的代码吓哭了。。不过起码还是思路清晰,QUQ~ 说一下题意吧: 题意是求一条最长路,最多能经过一次转弯,并且其角度只能为90度。 拿第一个样例来说:(0,1)->(1,2)->【转弯】(2,1) ,所以答案是3. 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5024 代码如下: #include #in...
分类:其他好文   时间:2014-09-20 20:02:59    阅读次数:272
HDU 5024 Wang Xifeng's Little Plot (bfs)
Problem Description 《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly regarded as the best one. This novel ...
分类:其他好文   时间:2014-09-20 18:59:59    阅读次数:194
POJ2488:A Knight's Journey(dfs)
http://poj.org/problem?id=2488DescriptionBackground The knight is getting bored of seeing the same black and white squares again and again and has dec...
分类:其他好文   时间:2014-09-19 20:53:26    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!