Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num...
分类:
其他好文 时间:
2014-07-16 19:53:49
阅读次数:
238
题目:Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ...
分类:
其他好文 时间:
2014-07-16 19:48:18
阅读次数:
263
一直使用eclipse操作java程序,但RMI程序需要命令行操作,故研究了下java的命令行操作。javac 用于编译.java文件,生成.class文件假设文件夹dir下有pa.java和a.java,并且a用到了pa的实例,那么在编译a时,是需要.class文件的。即编译程序时,程序之间的依赖...
分类:
编程语言 时间:
2014-07-16 19:44:41
阅读次数:
194
一、批量删除表格复选框 "> " /> 删除按钮 " posttype="string" rel="wids" target="selectedTodo" title="确实要删除这些记录吗?" >删除 二、
分类:
其他好文 时间:
2014-07-16 19:36:05
阅读次数:
173
一、創建一個Project,選擇Dynamic Web Project。二、當你發現你的Target runtime下面是None時,點擊右邊的New Runtime。三、選擇tomcatv7.0(我目前使用的是tomcat7.0)四,點擊Browse,選擇tomcat的位置。五、寫上Project...
分类:
Web程序 时间:
2014-07-13 23:48:26
阅读次数:
353
一、类载入器首先来看一下java程序的运行过程。 从这个框图非常easy大体上了解java程序工作原理。首先,你写好java代码,保存到硬盘其中。然后你在命令行中输入javac YourClassName.java此时,你的java代码就被编译成字节码(.class).假设你是...
分类:
编程语言 时间:
2014-07-13 23:08:38
阅读次数:
289
直接上图:
在android 中导入项目后 包出现错误的解决方法
选中项目,右击打开Properties:
1.检查android选项页中是否勾选了project build target。
2.检查java build path 中 orler and explort...
分类:
移动开发 时间:
2014-07-12 21:24:56
阅读次数:
305
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 numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-07-12 19:06:27
阅读次数:
204
使用frameset进行窗口分帧,构建简易的后台页面。这篇博客就作为一个简易后台管理页面的实战演练。
1 首先,需要一个页面,使用按比例划分为适合的三个区域:头部,菜单,主体。
不能放在中编写。
给每一个进行命名,便于后面链接时target属性可以直接指向指定位置。
代码如下(文件名自定义,我写的是 frameset.html):
后台管理页面
...
分类:
Web程序 时间:
2014-07-12 19:02:55
阅读次数:
289
环境:系统硬件:vmware vsphere (CPU:2*4核,内存2G)系统版本:CentOS Linux release 7.0.1406安装步骤:1.系统环境1.1 更新系统[root@centos ~]# yum update -y 1.2 查看环境[root@centos ~]# cat...
分类:
其他好文 时间:
2014-07-12 13:55:19
阅读次数:
8376