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
Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique longes...
分类:
其他好文 时间:
2014-05-24 04:45:39
阅读次数:
245
1. 题目:找出前100个素数。2.
要求:将前100个素数找出并显示值,要求每行显示5个素数。先列出求100以内素数的C++代码然后根据C++代码写汇编代码,相对来说比较容易。 1 //The
program is to find the primes from 1 to 100 with C++...
分类:
编程语言 时间:
2014-05-24 04:23:06
阅读次数:
450
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
【题目】
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