点击打开链接
无向图的双连通分量
#include
#include
#include
#include
#include
#include
#pragma comment(linker, "/STACK:102400000,102400000")
using namespace std;
typedef long long LL;
const int maxn = 50010;...
分类:
其他好文 时间:
2014-09-19 12:00:15
阅读次数:
195
tengine.taobao.org/book/chapter_03.html程序解析:1,核心是定义三个结构体,分别是a,ngx_command_t(模块的配置结构):由于定义了自己的配置结构体typedef struct{ngx_str_t hello_string;ngx_int_t hell...
分类:
其他好文 时间:
2014-09-19 11:39:55
阅读次数:
304
Ctrl + a - Jump to the start of the lineCtrl + b - Move back a charCtrl + c - Terminate the command Ctrl + d - Delete from under the cursorCtrl + e - ...
分类:
其他好文 时间:
2014-09-19 11:32:05
阅读次数:
159
有时候在java代码中会调用一些外部程序,比如SwfTools来转换swf、ffmpeg来转换视频等。如果你的代码这样写:Runtime.getRuntime().exec(command),会发现程序一下就执行完毕,而在命令行里要执行一会,是因为java没有等待外部程序的执行完毕,此时就需要使用阻...
分类:
编程语言 时间:
2014-09-19 09:55:25
阅读次数:
241
Codeforces Round #267 (Div. 2)(C和D的题解单独写)AGeorge and Accommodation题意:给出宿舍各个寝室住了多少人、最多能住多少人,求有多少个寝室能住进这两个人……代码: 1 //#pragma comment(linker, "/STACK:102...
分类:
其他好文 时间:
2014-09-19 08:47:25
阅读次数:
239
In the recent days, since the overwork made me exhaused, on arrival to home I will go to bed, which leads to loss of blogs that should have been written in the past days.
Now I make a summay to all...
分类:
数据库 时间:
2014-09-19 02:20:04
阅读次数:
323
思路:这题确实大帝做得很机智!字符串先求最长前缀,反的字符串再求一次最长前缀,然后就可以搞了。
每个子串出现的次数就是最长前缀的次数嘛!
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#include
#include
#include
#include...
分类:
其他好文 时间:
2014-09-18 22:17:34
阅读次数:
183
1、vi的基本概念 基本上vi可以分为三种状态,分别是命令模式(command mode)、插入模式(Insert mode)和底行模式(last line mode),各模式的功能区分如下:1) 命令行模式command mode) 控制屏幕光标的移动,字符、字或行的删除,移动复制某区段及进入.....
分类:
其他好文 时间:
2014-09-18 22:04:54
阅读次数:
235
Makefile是由一系列的rule规则组成,这些rule都遵循以下形式:target ... : prerequisites ... command ... ...target(目标) 一般来说是需要生成的程序(模块)的名字,也可以是要执行的动作的名字,这种情况叫做(Phony...
分类:
其他好文 时间:
2014-09-18 20:34:24
阅读次数:
222
这篇主要介绍angular指令中的link属性:link:function(scope,iEle,iAttrs,ctrl,linker){....}link属性值为一个函数,这个函数有五个参数:scope,iEle,iAttrs,ctrl,linkerscope:指令所在的作用域,这个scope和指...
分类:
其他好文 时间:
2014-09-18 20:32:34
阅读次数:
178