文章前部分为转载,转自http://www.cnblogs.com/yanlingyin/当然、这是一个经典的递归问题~ 想必来看这篇博文的同学对汉诺塔应该不会陌生了吧, 写这篇博还是有初衷的: 之前学数据结构的时候自己看书、也上网上查了很多资料,资料都比较散、而且描述的不是很清楚,对于当时刚...
分类:
其他好文 时间:
2015-04-09 23:43:42
阅读次数:
271
Hanoi Tower Troubles Again!Time Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:132964-bit integer IO format:%I64d Ja...
分类:
其他好文 时间:
2015-04-09 21:47:01
阅读次数:
120
ansilbe学习ansible安装安装依赖库yuminstall-yzlib
zlib-develyuminstall-y
opensslopenssl-devel源代码编译安装py#编译安装python2.7mkdir-p
/usr/local/src/python_srccd
/usr/local/src/python_srcwgethttp://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2tar-xf
..
分类:
其他好文 时间:
2015-04-09 20:10:42
阅读次数:
236
Battle Ships
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Battle Ships is a new game which is similar to Star Craft. In this game, the enemy builds a defense tower, which has
L longevit...
分类:
其他好文 时间:
2015-04-08 21:36:53
阅读次数:
176
ZOJ 2954 Hanoi Tower(模拟啊 )...
分类:
其他好文 时间:
2015-04-06 23:22:31
阅读次数:
386
概述在搭建开发环境时,我们都希望搭建过程能够简单,并且一劳永逸,其他的同事可以复用已经搭建好的开发环境以节省开发时间。而在搭建开发环境时,我们经常会被复杂的配置以及重复的下载安装所困扰。在Docker技术未出现之前,我们可以使用Pupet、Chef、Ansible等配置管理工具把复杂的配置管理起来,...
分类:
其他好文 时间:
2015-04-04 09:05:22
阅读次数:
223
1.同步yum源的脚本#cat/data/yum_repo/rsync_yum_shell/rsync_yumrepo.sh#!/bin/bash#scriptname:rsync_yumrepo.shRsyncBin="/usr/bin/rsync"RsyncPerm=‘-avrt--delete--no-iconv--bwlimit=100000‘Centos_7_base=‘/data/yum_repo/Centos-7/Base/‘Centos_7_epel=‘/data/yum_repo..
分类:
系统相关 时间:
2015-04-02 06:44:51
阅读次数:
309
1028. Hanoi Tower Sequence
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
Hanoi Tower is a famous game invented by the French mathematician Edourard Lucas in 1883. W...
分类:
其他好文 时间:
2015-03-31 09:04:28
阅读次数:
135
自动化运维Ansible特性(1)、noagents:不需要在被管控主机上安装任何客户端;(2)、noserver:无服务器端,使用时直接运行命令即可;(3)、modulesinanylanguages:基于模块工作,可使用任意语言开发模块;(4)、yaml,notcode:使用yaml语言定制剧本playbook;(5)、sshbydefault..
分类:
其他好文 时间:
2015-03-18 18:38:05
阅读次数:
168