1.获取select 选中的 text:$("#cusChildTypeId").find("option:selected").text();$("#cusChildTypeId option:selected").text()2.获取select选中的 value:$("#ddlRegType ...
分类:
Web程序 时间:
2014-07-22 22:47:54
阅读次数:
252
TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given...
分类:
其他好文 时间:
2014-07-22 22:47:52
阅读次数:
230
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the tw....
分类:
编程语言 时间:
2014-07-22 22:47:33
阅读次数:
256
题目: 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...
分类:
编程语言 时间:
2014-07-22 22:47:16
阅读次数:
252
解决方法:在文件AndroidManifest.xml里添加 结果为:PS:我起初添加的Activity是CallLog.java而不是ReCallLog.java,所以我在AndroidManifest.xml里添加添加了也同样报错,是因为和系统的Activity重名了,运行时不知...
分类:
移动开发 时间:
2014-07-22 22:45:12
阅读次数:
248
题目: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 integ....
分类:
编程语言 时间:
2014-07-22 22:42:33
阅读次数:
218
题目: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 w...
分类:
编程语言 时间:
2014-07-22 22:41:14
阅读次数:
396
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-22 22:40:36
阅读次数:
238
2^x mod n = 1
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 11542 Accepted Submission(s): 3577
Problem Description
Give a number n, find...
分类:
其他好文 时间:
2014-07-22 14:03:23
阅读次数:
261
并查集(disjoint set) 代码(C)本文地址: http://blog.csdn.net/caroline_wendy并查集(disjoint set)是一种常用的数据结构.树形结构, 包含查询(find)和合并(unite)操作.时间复杂度O(a(n)), 比O(logn)要快.代码:class DisjoinSet {
static const int MAX_N = 10000;...
分类:
其他好文 时间:
2014-07-21 23:42:53
阅读次数:
201