find the safest roadTime Limit: 10000/5000 MS
(Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):
6119Accepted Submission(s): 2...
分类:
其他好文 时间:
2014-05-27 02:49:10
阅读次数:
229
jquery获得下拉框值的代码获取Select :获取select 选中的 text
:$("#ddlRegType").find("option:selected").text();获取select选中的
value:$("#ddlRegType ").val();获取select选中的索引:$(...
分类:
Web程序 时间:
2014-05-27 02:38:48
阅读次数:
270
You Should Fall In Love With Someone Who
InspiresYouFEB. 5, 2014BySTEPHANIE ALTHOFThere’s one trait that I continuously
find myself coming back to whe...
分类:
其他好文 时间:
2014-05-24 07:45:20
阅读次数:
264
Combination Sum IGiven a set of candidate
numbers (C) and a target number (T), find all unique combinations in C where the
candidate numbers sums to T...
分类:
其他好文 时间:
2014-05-19 16:41:14
阅读次数:
269
vector::const_iterator result =
find(vector.begin(). vector.end(),search_value); 如果查找失败,分会end()
如果有两个,会返回哪一个的迭代器?int *reauslt = find(ia,ia+6,search_va...
分类:
编程语言 时间:
2014-05-19 15:15:33
阅读次数:
324
1.环境win7 x64,oracle 11g r2,jdk6
x642.问题第一次启动Oracle SQL
Developer的时候会让我们填写java.exe的路径,我在jdk安装目录下的bin中找到了java.exe,但是填写以后报如下错误:3.原因oracle
11g中安装的Oracle S...
分类:
数据库 时间:
2014-05-19 14:33:28
阅读次数:
441
【题目】
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution.
For example, given array S = {...
分类:
其他好文 时间:
2014-05-18 10:37:57
阅读次数:
269
【题目】
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.
Note:
Elements in a quadruplet (a,b,c,d) must be in non-descending ord...
分类:
其他好文 时间:
2014-05-18 08:46:04
阅读次数:
227
【题目】
Write a function to find the longest common prefix string amongst an array of strings.
【题意】
求一组字符串的最长公共前缀
【思路】
使用归并思想求解
要求字符串[1,2,..,k,k+1,...n]的最大公共前缀,先分别求[1,2,...k]和[k+1,...,n]的公共前缀...
分类:
其他好文 时间:
2014-05-18 05:17:53
阅读次数:
232
【题目】
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c)
The so...
分类:
其他好文 时间:
2014-05-18 03:15:50
阅读次数:
287