题目
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
...
分类:
其他好文 时间:
2014-06-19 11:46:47
阅读次数:
277
题目
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
...
分类:
其他好文 时间:
2014-06-19 10:05:39
阅读次数:
278
题目
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates i...
分类:
其他好文 时间:
2014-06-15 17:27:16
阅读次数:
251
附网址:http://qt-project.org/doc/qt-5/qtquickcontrols-index.html
Qt Quick Controls —— Qt Quick控件
Qt QuickQt Quick Controls提供了一套用来在Qt Quick中创建用户界面的UI控件。
该模块在Qt5.1中新推出来。
前往Qt Quick Controls Overvie...
分类:
其他好文 时间:
2014-06-15 16:21:58
阅读次数:
344
NSRange的定义typedefstruct_NSRange{NSUIntegerlocation;NSUIntegerlength;}NSRange;NSRange是一个结构体,其中location是一个以0为开始的index,length是表示对象的长度。他们都是NSUInteger类型。而N...
分类:
其他好文 时间:
2014-06-13 19:45:38
阅读次数:
286
1. HTTP状态码意义 客户机与服务器建立连接后,发送一个请求给服务器(如:Get
/index.html
http/1.1),在服务器接到请求后,给予客户机相应的响应信息,包括该信息的协议版本号、HTTP协议状态码、服务器信息、实体信息、内容等(如:http/1.1
200 ok)。在通讯时,客...
分类:
其他好文 时间:
2014-06-13 19:43:35
阅读次数:
291
Nutz是一组轻便小型的框架的集合,
各个部分可以被独立使用,把SSH的精华封装在一个1M左右的jar包中,Nutz不对其他任何第三方库产生依赖,如果不考虑数据库链接和日志的话,创建完美的Web应用只需要一个Nutz的jar包。
作为产品而言,就算是再优秀,如果没有优良的使用文档,也是白搭。...
分类:
其他好文 时间:
2014-06-13 18:47:10
阅读次数:
300
String对象提供的方法用于处理字符串及字符。常用的一些方法:charAt(index):返回字符串中index处的字符。indexOf(searchValue,[fromIndex]):该方法在字符串中寻找第一次出现的searchValue。如果给定了fromIndex,则从字符串内该位置开始搜...
分类:
编程语言 时间:
2014-06-13 17:42:30
阅读次数:
293
关于tarjan的思想可以在网上搜到,具体我也不太清楚,应该说自己理解也不深,下面是做题经验得到的一些模板。其中有很多转载,包括BYVoid等,感谢让我转。。。望各路大神愿谅有向图求连通分量的一般方法:
1 void Tarjan(u) { 2 dfn[u]=low[u]=++index 3...
分类:
其他好文 时间:
2014-06-13 16:14:11
阅读次数:
395