码迷,mamicode.com
首页 >  
搜索关键字:rep    ( 1080个结果
poj 3693 后缀数组求重复次数最多的连续重复子串
#include#include#include#include#include#include#include#include#include#include#include#include#define rep(i,n) for(int i=0;i=a;--i)#define PB push_b...
分类:编程语言   时间:2014-11-30 13:40:21    阅读次数:241
POJ2352:Stars
题目StarsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 34016Accepted: 14839DescriptionAstronomers often examine star maps where stars are rep...
分类:其他好文   时间:2014-11-29 15:59:04    阅读次数:219
DLX_e/m
// 精确覆盖#include#include#include#include#include#include#include#include#include#include#include#include#define rep(i,n) for(int i=0;i=a;--i)#define PB...
分类:其他好文   时间:2014-11-27 23:25:44    阅读次数:317
RHCE-PXE无人值守装机一
说明:用的VMware虚拟机搭建的环境 、系统:redhat linux6(64)、同系统光盘镜像一。基础配置1.配置yum源装上光盘后挂载 mount /dev/cdrom /media删除原有的yum rm-rf /etc/yum/yum.repos.d/*自行添加yum库 vi yum.rep...
分类:其他好文   时间:2014-11-27 15:59:06    阅读次数:210
Lua字符串库(整理)
1. 基础字符串函数: 字符串库中有一些函数非常简单,如: 1). string.len(s) 返回字符串s的长度; 2). string.rep(s,n) 返回字符串s重复n次的结果; 3). string.lower(s) 返回s的副本,其中所有的大写都被...
分类:其他好文   时间:2014-11-26 20:39:02    阅读次数:203
全局最小割(n^3)
#include#include#define rep(i,n) for(int i=0;iconst int N = 200;int n,m;int map[N][N],combine[N],vis[N],wet[N];int S,T,minCut;void init(){ memset(...
分类:其他好文   时间:2014-11-25 10:37:01    阅读次数:242
内核模块USBIP协议描述
1   USBIP协议1.1USBIP协议基本介绍USB/IP协议遵循C/S架构。服务器端导入USB设备,客户端导出USB设备。导出USB设备的驱动程序运行在客户端机器上。大致可分为2个部分:1、  客户端获取USB设备的列表客户端通过TCP/IP协议连接上服务器,并发送一个OP_REP_DEVLIST数据包到服务器,服务器收到后,发回OP_REP_DEVLIST USB设备信息数据包列表。具体流...
分类:其他好文   时间:2014-11-21 10:46:25    阅读次数:552
Sum Root to Leaf Numbers深度优先计算路径和
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:其他好文   时间:2014-11-20 15:06:39    阅读次数:212
字符串最小表示法 O(N)
#include#include#include#define rep(i,n) for(int i=0;i= l ? i + k - l : i + k] - s[(j + k) >= l ? j + k - l : j + k]; if(!t) k++; ...
分类:其他好文   时间:2014-11-20 01:19:56    阅读次数:236
Lua字符串及字符串匹配
--lua中字符串索引从前往后是1,2,……,从后往前是-1,-2……。 --string库中所有的function都不会直接操作字符串,只返回一个结果  基本函数 函数 描述 示例 结果 len 计算字符串长度 string.len("abcd") 4 rep 返回字符...
分类:其他好文   时间:2014-11-19 01:38:17    阅读次数:282
1080条   上一页 1 ... 97 98 99 100 101 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!