首页 > 其他
Nginx 安装配置 禁止使用IP访问 rewrite重写 别名设置 日志轮询
1、yuminstallpcrepcre-devel-y#支持rewrite重写功能2、yum-yinstallopensslopenssl-devel#支持https功能3、useraddnginx-s/sbin/nologin-M#添加用户4、tarzxfnginx-1.6.2.tar.gzcdnginx-1.6.2./configure\--user=nginx--group=nginx\--prefix=/application/nginx-1.6.2\--with..
分类:其他   时间:2015-08-15 18:29:57    收藏:0  评论:0  赞:0  阅读:281
What is the modified poplar formwork plywood
Whatisthemodifiedpoplarfilmfacedplywood?Thisfilmfacedplywoodisthenewstyleconcreteformworkpanelwhichhasthesuperioritylikesmoothsurface,largeformat,lightweight,highstrength,highresistanceandcanreducetheadvantagesoftwoplastering,highturnoverfrequencyetc.Inaddi..
分类:其他   时间:2015-08-15 18:29:47    收藏:0  评论:0  赞:0  阅读:73
ISP_BGP 试验
ISPBGP试验试验文档下载<下载后,把后缀名改为pdf>http://down.51cto.com/data/20824541-BGP选路规则发生选路的前提:没有同步问题,下一条且可达!1-1MEDMED生成:1:本地network方式生成的BGP条目,会带上IGP的metric。会传给所有邻居。2:如果从IBGP邻居学习到一条BGP条目..
分类:其他   时间:2015-08-15 18:29:37    收藏:0  评论:0  赞:0  阅读:600
第二讲、实例变量可见度、方法
一、实例变量可见度可见度特点public实例变量可以在类的外部和内部操作protected实例变量只能在该类和其子类内操作默认private实例变量只能在该类内访问内部:相应类的@implementation和@end之间@interfacePerson:NSObject{@publicNSString*_name;@protectedNSString*_gender;i..
分类:其他   时间:2015-08-15 18:28:57    收藏:0  评论:0  赞:0  阅读:203
CLBeaconRegion(地理区域)的讲解
//用于定义主要的对象 typedef uint16_t CLBeaconMajorValue; //用于定义最不主要的对象 typedef uint16_t CLBeaconMinorValue; //下面是三种初始胡iBeacon的初始化方法。 //通过NSUUID符号来初始化  那两个都是通配符 - (instancetype)initWithProximityUUID:...
分类:其他   时间:2015-08-15 18:27:07    收藏:0  评论:0  赞:0  阅读:286
hdu1757
链接:点击打开链接 题意: 当x=10,f(x)=a0*f(x-1)+a1*f(x-2)+a2*f(x-3)+ …… +a9*f(x-10),求f(k)%m 代码:#include #include #include using namespace std; struct node{ long long m[10][10]; }; long long m; node P={0,0...
分类:其他   时间:2015-08-15 18:26:37    收藏:0  评论:0  赞:0  阅读:210
bzoj-2049 Cave 洞穴勘测
题意: 给出n个点和m次操作,操作有三种; 1.连接两个点; 2.删除两个点之间的连接; 3.查询两个点是否连通; 保证任何时刻图为一个森林; n 题解: LCT模板题,看起来LCT是个好东西; LCT是一个用数据结构来维护一个支持动态加边删边的森林; 内部实现是用多个Splay来维护树上的重链,用Splay间的边维护树上的轻边; 这里的定义与树剖不同了,重边...
分类:其他   时间:2015-08-15 18:26:27    收藏:0  评论:0  赞:0  阅读:282
hdoj 5131 Song Jiang's rank list 【模拟】
Song Jiang's rank list Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 653    Accepted Submission(s): 323 Problem Description 《Sh...
分类:其他   时间:2015-08-15 18:26:17    收藏:0  评论:0  赞:0  阅读:295
UVA 10106 Product 高精度运算
J - Product Crawling in process... Crawling failed Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Description  Product  ...
分类:其他   时间:2015-08-15 18:25:47    收藏:0  评论:0  赞:0  阅读:235
hdoj 5137 How Many Maos Does the Guanxi Worth 【枚举删点 + 最短路】
How Many Maos Does the Guanxi Worth Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 847    Accepted Submission(s): 322 Problem Des...
分类:其他   时间:2015-08-15 18:25:37    收藏:0  评论:0  赞:0  阅读:200
bzoj-2002 Bounce 弹飞绵羊
题意: 直线上有一排n个弹力装置,每个弹力装置会将绵羊弹到下ki个弹力装置处; 如果没有了则绵羊被弹飞。。 问每个绵羊被弹了几次弹飞; 可能会修改弹力装置的k值; n 题解: 裸的LCT吧; 所以下面的启发式合并Splay是啥鬼; 有人说这题边有向,和无向边不一样; 然而有个卵区别,把终点作为根不就有向了吗! 反正切了上一题这一题也不难吧; 维护个size之后,把终...
分类:其他   时间:2015-08-15 18:25:17    收藏:0  评论:0  赞:0  阅读:159
BZOJ 题目3224: Tyvj 1728 普通平衡树(SBT)
3224: Tyvj 1728 普通平衡树 Time Limit: 10 Sec  Memory Limit: 128 MB Submit: 4350  Solved: 1769 [Submit][Status][Discuss] Description 您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作: 1. 插入x数 2. 删除x数(若有多个相同的数...
分类:其他   时间:2015-08-15 18:25:07    收藏:0  评论:0  赞:0  阅读:348
hdu5375 Gray code
Problem Description The reflected binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only onebit (binary digit). The reflected b...
分类:其他   时间:2015-08-15 18:24:57    收藏:0  评论:0  赞:0  阅读:173
poj3061(Subsequence)尺取法
Description A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are given. Write a program to find the minimal ...
分类:其他   时间:2015-08-15 18:24:50    收藏:0  评论:0  赞:0  阅读:248
编程马拉松:电话号码
题目描述 上图是一个电话的九宫格,如你所见一个数字对应一些字母,因此在国外企业喜欢把电话号码设计成与自己公司名字相对应。例如公司的Help Desk号码是4357,因为4对应H、3对应E、5对应L、7对应P,因此4357就是HELP。同理,TUT-GLOP就代表888-4567、310-GINO代表310-4466。 NowCoder刚进入外企,并不习惯这样的命名方式,现在给你一串电话号码...
分类:其他   时间:2015-08-15 18:24:37    收藏:0  评论:0  赞:0  阅读:164
逆元小结
一、若a与n互素,那么可以用扩展欧几里德和欧拉函数求出a对于n的逆元。 ax≡1(mod n),x为a对于n的逆元。 用欧几里德求逆元x: //a与n互素,逆元才有解 #include #include using namespace std; typedef long long LL; void exgcd(LL a,LL b,LL &d,LL &x,LL &y) { if(!b)...
分类:其他   时间:2015-08-15 18:24:07    收藏:0  评论:0  赞:0  阅读:456
hdu2814
链接:点击打开链接 题意:求出F(a^b)^(F(a^b)^(n-1))%c(F为斐波那契数的值) 代码:#include #include #include #include using namespace std; unsigned long long f[20005]; //注意要使用无符号形 unsigned long long phi(u...
分类:其他   时间:2015-08-15 18:23:47    收藏:0  评论:0  赞:0  阅读:325
VS快捷键
VS快捷键...
分类:其他   时间:2015-08-15 18:23:37    收藏:0  评论:0  赞:0  阅读:171
sscanf,snprintf,sprintf小结
一、sprintf sprint函数原型为 int sprintf(char *str, const char *format, ...)。作用是格式化字符串,具体功能如下所示: (1)将数字变量转换为字符串。 (2)得到整型变量的16进制和8进制字符串。 (3)连接多个字符串。 举例如下 char str[256] = { 0 }; int data = 1024; //将dat...
分类:其他   时间:2015-08-15 18:23:17    收藏:0  评论:0  赞:0  阅读:272
反转链表
题目 定义一个函数,输入一个链表的头结点,反转该链表并输出反转后链表的头结点.ListNode* ReverseList(ListNode* pHead) { if (pHead == NULL) return NULL; ListNode* pPrev = NULL; ListNode* pNode = pHead; while (...
分类:其他   时间:2015-08-15 18:23:07    收藏:0  评论:0  赞:0  阅读:187
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!