You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-28 10:45:34
阅读次数:
225
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 nu...
分类:
其他好文 时间:
2014-06-26 00:29:49
阅读次数:
168
@Test public void test(){ //new UserImpl(); /* ProxyT proxy=new ProxyT(new UserImpl()); proxy.add(); proxy.update();*/ final User user=new UserI...
分类:
编程语言 时间:
2014-06-26 00:14:14
阅读次数:
260
1、通过Add References引用SQLite ADO .NET安装目录的bin目录下的System.Data.SQLite.DLL。2、创建数据库文件:因为始终是个0字节文件,应该利用IO也可以(?!)。System.Data.SQLite.SQLiteConnection.CreateFi...
分类:
数据库 时间:
2014-06-25 23:33:18
阅读次数:
277
在虚拟机上測评了下MySQL 和 PostgreSQL 的各种LOAD FILE方式以及时间。 由于是虚拟机上的測评,所以时间仅仅做參考,不要太较真, 看看就好了。MySQL 工具: 1. 自带mysqlimport工具。 2. 命令行 load data infile ... 3. 利用my...
分类:
数据库 时间:
2014-06-25 23:01:08
阅读次数:
328
方法1:javascritp方法123456//随机数functiondiu_Randomize(b,e){if(!b&&b!=0||!e){return"?";}returnMath.floor((Math.random()*e)+b);}$(window).load=$(".ps"+diu_Ra...
分类:
编程语言 时间:
2014-06-25 22:55:03
阅读次数:
623
Dmaths: assist mathematical drawings and symbolsMultiSave: save simultaneously to odt, pdf and doc.Review: add a review toolbarTexMaths: LaTeX equatio...
分类:
其他好文 时间:
2014-06-25 21:59:34
阅读次数:
242
SELECT id FROM tran WHERE state = 'F' AND TIMESTAMPDIFF(SECOND,DATE_ADD(create_date,INTERVAL 10 DAY_MINUTE),"2014-06-18 10:30:29")>0
如果create_date加10分钟大于等于当前的时间("2014-06-18 10:30:29")...
分类:
数据库 时间:
2014-06-22 22:42:25
阅读次数:
284
在linux下写了一个非常简单的Hello world程序,编译运行竟然报错:Error: Could not find or load main class Hello
最后发现是CLASSPATH的问题。
首先需要检查jdk环境变量是否配置正确:参考这篇文章:ubuntu12.04 安装配置jdk1.7
主要在环境变量这块:
export JAVA_HOME=/usr/java/jdk...
分类:
系统相关 时间:
2014-06-22 08:58:51
阅读次数:
410