码迷,mamicode.com
首页 >  
搜索关键字:1446. sorting hat    ( 5284个结果
HDU 1247 Hat's words(Trie)
HDU 1247 Hat's words(Trie) ACM 题目地址:  HDU 1247 Hat's words 题意:  给些单词,问每个单词是否能用另外两个单词拼出。 分析:  直接保存到trie里面,然后暴力切割查询即可。 代码: /* * Author: illuz * File: 1247.cpp * Crea...
分类:其他好文   时间:2014-09-24 16:12:47    阅读次数:167
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
【MongoDB】The high query operation of MongoDB(三)
1, Sort  Needless to say, mongodb also support to sort data. THe positive one means sorting by asc order and negetive means by desc. 2. Group The grammar of group: Description Of Argument:...
分类:数据库   时间:2014-09-23 02:47:33    阅读次数:267
Head First Python学习笔记(五)
一、排序的两种方式(1)原地排序(In-place sorting):按指定的顺序排列数据,然后用排序后的数据替换原来的数据,原来的数据丢失。sort(),列表的标准方法,e.g. mylist.sort()(2)复制排序(Copied sorting):按指定的顺序排列数据,然后返回原数据一个有序...
分类:编程语言   时间:2014-09-23 00:04:13    阅读次数:310
Collection of algorithm for sorting. 常见排序算法集(三) —— Quick Sort
Quick Sort...
分类:其他好文   时间:2014-09-20 16:11:39    阅读次数:256
Collection of algorithm for sorting. 常见排序算法集(二)
Collection of algorithm for sorting heap sort 堆排序                The heapsort algorithm can be divided into two parts.                In the first step, a heap is built out of the data. The h...
分类:其他好文   时间:2014-09-19 19:24:45    阅读次数:220
red hat linux 6.4 DNS配置(怎么不让发表?)
1安装DNS服务器组建安装bind2启动服务3进入dns主配置文件named.conf4编辑配置文件。(监听的端口注释或写上自己需要监听端口的IP.注释IPv6.允许谁来查询,注释掉,表示所有人都可以)5编辑named.1912.zone文件。申明一个正向区域,一个反向区域。正向区域反向区域6复制dns两个..
分类:系统相关   时间:2014-09-19 14:00:06    阅读次数:321
如何查询centos查看系统内核版本,系统版本,32位还是64位
查看centos内核的版本: 1)[root@localhost ~]# cat /proc/version Linux version 2.6.18-194.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 14:58:1...
分类:其他好文   时间:2014-09-19 12:20:05    阅读次数:238
red hat linux6.4 搭建dhcp服务器
新浪博客太坑了,以前写的全部转移51cto了。1查看服务器是否安装DHCP服务2用yum安装dhcp服务3查看服务的配置文件,里面是空的4复制dhcp的模板到配置文件里5用vim编辑配置文件.在里面申明一个网段,以及IP地址的变化范围6重新启动dhcp服务。/etc/init.d/dhcpdrestart7关闭防火墙..
分类:系统相关   时间:2014-09-19 10:17:26    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!