需求是这样的:系统中会有很多的执行时间,三个或者四个这样,不确定,以后可能是五个!当用户在页面添加执行时间时,我们后台也要对应执行用户添加的时间。
数据库设计:
DROP TABLE IF EXISTS `test_time_task`;
CREATE TABLE `test_time_task` (
`status` int(11) DEFAULT NULL COMMENT '状态:0为...
分类:
编程语言 时间:
2014-06-05 10:00:30
阅读次数:
245
File类测试
//根据指定的文件名和路径创建File对象
File file = new File("myFile.txt");
//file.exists();检测文件是否存在
boolean exists = file.exists();
System.out.println(exists);
//按照file对象指定的路径和文件名创建一个新的文件
...
分类:
编程语言 时间:
2014-06-05 09:31:59
阅读次数:
293
Given a 2D board and a word, find if the word
exists in the grid.The word can be constructed from letters of sequentially
adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-06-04 20:56:34
阅读次数:
343
【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:
其他好文 时间:
2014-06-03 01:07:58
阅读次数:
329
Given a stringS, find the longest palindromic
substring inS. You may assume that the maximum length ofSis 1000, and there
exists one unique longest pa...
分类:
编程语言 时间:
2014-06-02 09:22:03
阅读次数:
328
title:
A Pythagorean triplet is a set of three natural numbers, a
b
c, for which,
a2 + b2 =
c2
For example, 32 + 42 = 9 + 16 = 25 = 52.
There exists exactly one Pythagorean triplet for wh...
分类:
其他好文 时间:
2014-06-01 09:17:53
阅读次数:
251
http://0pointer.de/blog/projects/systemd.htmlRethinking PID 1If you are well
connected or good at reading between the lines you might already know wha...
分类:
其他好文 时间:
2014-05-31 11:29:28
阅读次数:
286
题目:A Pythagorean triplet is a set of three
natural numbers, a b c, for which,a2 + b2 = c2For example, 32 + 42 = 9 + 16 = 25
= 52.There exists exactl.....
分类:
其他好文 时间:
2014-05-31 01:23:03
阅读次数:
254
Original link: How to check if Directory
already Exists in MFC(VC++)?MSDN Links:CreateDirectory functionGetFileAttributes
functionGetLastError functio...
分类:
其他好文 时间:
2014-05-29 17:49:25
阅读次数:
371
启动tomcat的时候出现异常 严重: StandardServer.await:
create[8005]: java.net.BindException: Address already in use: JVM_Bind at
java.net.PlainSocketImpl...
分类:
其他好文 时间:
2014-05-26 18:18:35
阅读次数:
183