Given an arraySofnintegers, are there
elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in
the array which gives the sum of ...
分类:
其他好文 时间:
2014-06-29 15:08:56
阅读次数:
263
1 设置path, 在windwos 7下要重启2 重启后,cmd----ant -version
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre6\lib原来是只安装了jre, 没有安装jdk...
分类:
其他好文 时间:
2014-06-07 04:37:11
阅读次数:
209
1 #include 2 #include 3 using namespace std; 4
const int Max = 100000; 5 int num[Max]; 6 int find_[Max]; 7 bool found[Max]; 8
int pos[Max] = { 9 ...
分类:
其他好文 时间:
2014-06-07 03:49:29
阅读次数:
250
起因:两台ibm 小型机搭建的oracle10g
rac环境,使用asm磁盘组,运行了多年没有问题,今天机房要计划停电,正常关机后,开机后数据库节点1无法自动启动,使用ps -ef |grep
d.bin查看,有crs进程。但是使用crs_stat -t 命令查看,报IOT/Abort trap(c...
分类:
数据库 时间:
2014-05-30 09:30:23
阅读次数:
394
FTP服务器的安装与配置(Ubuntu)1.查询是否安装vsftpd: rpm -qa |grep
vsftpd(rpm的安装:apt-get install rpm)或者查询当前ftp进程:ps -ef|grep
vsftpd2.安装vsftpd服务器:rpm -ivh vsftpd-*.rpm ...
分类:
系统相关 时间:
2014-05-30 02:00:41
阅读次数:
386
Spring
AOP+EHCache简单缓存系统解决方案需要使用Spring来实现一个Cache简单的解决方案,具体需求如下:使用任意一个现有开源Cache
Framework,要求可以Cache系统中Service或则DAO层的get/find等方法返回结果,如果数据更新(使用Create/upd...
分类:
编程语言 时间:
2014-05-29 23:27:14
阅读次数:
467
Given an arraySofnintegers, find three integers
inSsuch that the sum is closest to a given number, target. Return the sum of the
three integers. You m...
分类:
其他好文 时间:
2014-05-29 11:04:43
阅读次数:
200
You are given a string,S, and a list of
words,L, that are all of the same length. Find all starting indices of
substring(s) in S that is a concatenati...
分类:
其他好文 时间:
2014-05-29 09:09:35
阅读次数:
222
Problem: Given a two-dimensional graph with
points on it, find a line which passes the most number of points.此题是Cracking the
code 5th edition 第七章第六题,思...
分类:
其他好文 时间:
2014-05-29 08:10:38
阅读次数:
292
昨天在Eclipse中导入一个Android工程后点击运行时出现了Could not find
XXX.apk!的错误信息,具体错误提示如下:到网上搜了好多方法,挨个尝试,最后都没解决但是,重启Eclipse居然好了,
观察发现在bin目录下没有apk文件,可能是因为工程没有完全编译通过无法生成ap...
分类:
移动开发 时间:
2014-05-28 11:06:23
阅读次数:
4467