使用参数有两种可能用途:
-- 脚本并不存在, 而是服务端提供的, 带上版本号, 以示区别。...
分类:
Web程序 时间:
2015-01-19 21:12:00
阅读次数:
196
hadoopIO相关...
分类:
其他好文 时间:
2015-01-19 21:10:39
阅读次数:
221
题目大意:定义半连通子图为一个诱导子图,其中任意两点(x,y)中x可到达y或y可到达x,求最大半连通子图的大小以及方案数
不就是个缩点之后拓扑序DP求最长链么 这题意逗不逗233333
注意缩点后连边不要连重复了 判重边那里我用了set。。。
#include
#include
#include
#include
#include
#define M 100100
using na...
分类:
其他好文 时间:
2015-01-19 21:11:11
阅读次数:
204
android:autoLink 设置是否当文本为URL链接/email/电话号码/map时,文本显示为可点击的链接。可选值(none/web/email/phone/map/all)
android:autoText 如果设置,将自动执行输入值的拼写纠正。此处无效果,在显示输入法并输入的时候起作用。
android:bufferType 指定getTex...
分类:
移动开发 时间:
2015-01-19 21:10:17
阅读次数:
190
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-queens puzzle.
...
分类:
其他好文 时间:
2015-01-19 21:08:13
阅读次数:
210
使用 apache poi包来实现该功能
包可以通过官网下载,也可以通过 http://download.csdn.net/detail/ch717828/8361309 下载
接下来看代码
private static String xls2003 = "myexcel.xls";
public static void main(String[] args) {
//创建2...
分类:
编程语言 时间:
2015-01-19 21:09:46
阅读次数:
278
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42876657
Given a binary tree, return the inorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,3,2].
Note: Re...
分类:
其他好文 时间:
2015-01-19 21:11:04
阅读次数:
184
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42876699
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Re...
分类:
其他好文 时间:
2015-01-19 21:09:52
阅读次数:
145
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42876769
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: ...
分类:
其他好文 时间:
2015-01-19 21:09:14
阅读次数:
152
要充分发挥出硬件的极致性能,透过CUDA干净的编程模型,了解背后的底层机制是非常重要的。本文将从硬件层次出发,介绍各种CUDA优化策略....
分类:
其他好文 时间:
2015-01-19 21:07:54
阅读次数:
234
题目大意:给出一个字符串,支持在线在字符串后面加一个字符串,查询一个字符串在串中出现过几次。
思路:如果不想写正解的话,这个题就是后缀自动机的简单应用。正解其实是LCT+SAM,但是时间比暴力慢一倍。。。
暴力就很简单了,正序建立后缀自动机,每次查询的时候找到位置直接输出size的值。注意两点,一个是分裂节点的时候,size也要复制过去。查询的时候发现找不到要return 0;
...
分类:
其他好文 时间:
2015-01-19 21:08:55
阅读次数:
225
101用于串口通调度,属于远动规约
104是101的网络版
103有串口的有以太网的,不是通调度的,是通保护装置的,属于继电保护规约
主站与子站通过IEC60870-5-104规约通讯协议说明 目 录目 录... 1前 言... 1一、IEC60870-5-104应用规约数据单元基本结构... 21.1 应用规约数据单元APDU.. 21.2 应用规约控制信息APCI21.3 应用服务数...
分类:
其他好文 时间:
2015-01-19 21:07:00
阅读次数:
401
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42877129
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Y...
分类:
其他好文 时间:
2015-01-19 21:08:56
阅读次数:
218
创建C++的类主要有两个文件:.cpp和.h结尾的两个文件。 .h结尾的是头文件,对外公开的接口。c.pp是具体的实现。也就是说变量和函数的声明或者类的声明都写在.h头文件中。
?用class定义类
成员默认为私有
?类中成员的作用域
private
protected
public
以下是简单...
分类:
编程语言 时间:
2015-01-19 21:09:38
阅读次数:
206
题目:一个二维的矩阵,从左向右找到一条路径,每次可以移动到右侧,右上或者右下的格子中,
要求找到一条,路径上的数字和最小的路径,输出路径(和相同时输出字典序最小的)。
分析:dp,动态三角形。因为要字典序最小逆序求解,记录输出即可,最优解取决于相邻的三个元素。
说明:注意输出格式。
#include
#include
#include
#include
u...
分类:
其他好文 时间:
2015-01-19 21:07:56
阅读次数:
308
1)数域:含0和1,必须对四则运算封闭(闭合),也就是数域中的数进行加减乘除的结果还是数域中的数;2)逆序:与顺序对应,大的数排在小的数前面就形成一个逆序;3)偶排列,奇排列:如果拍列的逆序数为偶,则称偶排列,为奇数则称奇排列。这些定义为应用在后面的行列式变换中;4)排列中两个元素的对换都改变排列的奇偶性(定理);5)任何一个排列J1,J2..Jn总可以通过对换与自然排列相互转化;且该排列与对换的...
分类:
其他好文 时间:
2015-01-19 21:09:10
阅读次数:
221
在开发的过程中,我们经常会遇到button的title左对齐的方式,首先我们会想到button.titleLabel.textAlignment = UITextAlignmentLeft是没有作用的,但是这个方法已经iOS禁止使用了,即使用了也没有效果,好在UIbutton继承自UIControl 那么我们就可用这个方法来实现,button.contentHorizontalAlignment ...
分类:
其他好文 时间:
2015-01-19 21:07:48
阅读次数:
153