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 two n...
分类:
其他好文 时间:
2015-03-02 16:24:23
阅读次数:
129
http://www.cnblogs.com/CheeseZH/archive/2012/11/05/2755107.htmlhttp://shouce.jb51.net/python/http://oss.org.cn/ossdocs/python/python2.3tut/tut/index.htmlPython脚本中添加中文注释:在脚本顶行添加#-*-coding:utf-8–*
分类:
编程语言 时间:
2015-03-02 15:05:10
阅读次数:
180
算法渣,现实基本都参考或者完全拷贝[戴方勤(soulmachine@gmail.com)]大神的leetcode题解,此处仅作刷题记录。 1 class Solution { 2 public: 3 vector > fourSum(vector &num, int target) ...
分类:
其他好文 时间:
2015-03-02 14:49:04
阅读次数:
144
我们需要根据IP去限制用户单位时间的访问次数,防止刷手机验证码,屏蔽注册机等,使用注解就非常灵活了1 定义注解@Retention(RetentionPolicy.RUNTIME)@Target(ElementType.METHOD)@Documented//最高优先级@Order(Ordered....
分类:
编程语言 时间:
2015-03-02 12:56:45
阅读次数:
241
安装环境:
source:
OS:redhat 6.3
DB:11.2.0.4 rac
OGG:11.2.1.0.1
target:
OS:redhat 6.3
DB:11.2.0.4
OGG:11.2.1.0.1
rac到单机的一个传输配置,这里测试ogg没有放入到共享存储中。建议生产环境将ogg放入共享存储,以免单点故障。
Prepare(Source And Target...
分类:
数据库 时间:
2015-03-02 09:30:47
阅读次数:
251
Grid Size For .col-mdWe started designing our site using thecol-md-*classes. These classes target what screen size?PhonesTabletsLaptopsDesktopsGrid Si...
分类:
其他好文 时间:
2015-03-02 00:59:23
阅读次数:
466
算法渣,现实基本都参考或者完全拷贝[戴方勤(soulmachine@gmail.com)]大神的leetcode题解,此处仅作刷题记录。 1 class Solution { 2 public: 3 int threeSumClosest(vector &num, int target) {...
分类:
其他好文 时间:
2015-03-01 22:18:41
阅读次数:
238
直接上图: 在android 中导入项目后 包出现错误的解决方法选中项目,右击打开Properties:1.检查android选项页中是否勾选了project build target。2.检查java build path 中 orler and explort...
分类:
移动开发 时间:
2015-03-01 19:47:57
阅读次数:
147
算法渣,现实基本都参考或者完全拷贝[戴方勤(soulmachine@gmail.com)]大神的leetcode题解,此处仅作刷题记录。 1 class Solution { 2 public: 3 vector twoSum(vector &numbers, int target) { 4...
分类:
其他好文 时间:
2015-03-01 19:41:24
阅读次数:
222
1.It, in effect, filters in intents of a desired type, while filtering out unwanted intents — but only unwanted implicit intents (those that don't namea target class). An explicit intent is always del...
分类:
其他好文 时间:
2015-03-01 14:29:52
阅读次数:
132