HDU - 4788
Hard Disk Drive
Time Limit:1000MS
Memory Limit:32768KB
64bit IO Format:%I64d & %I64u
[Submit] [Go Back] [Status]
Description
Yesterday your dear cou...
分类:
其他好文 时间:
2014-06-20 10:51:20
阅读次数:
316
http://unicode.org/reports/tr35/tr35-6.html#Date_Format_PatternsAppendix F:Date
Format PatternsA date pattern is a string of characters, where specifi...
分类:
其他好文 时间:
2014-06-11 23:37:19
阅读次数:
499
centOs下: error: Failed dependencies: 检查依赖性错误
解决方法刚才安装avast的linux版,结果出现了:[root@localhost /]# rpm -ivh
avast4workstation-1.3.0-1.i586.rpmerror: Failed d...
分类:
其他好文 时间:
2014-06-11 12:34:53
阅读次数:
186
在Linux上检出windows
SVN服务器上项目时出现了SSLhandshakefailed:SSLerror:Keyusageviolationincertificatehasbeendetected.的错误。最后通过从网上检索找到了一个答案:
可以同时解决掉在Ubuntu上和CentOS上检...
/** * 得到当前的时间 字符串型 */ public static String
getNowTime(){ Date time=new Date(); DateFormat format =new SimpleDateFo...
分类:
其他好文 时间:
2014-06-11 11:32:08
阅读次数:
247
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that i...
分类:
编程语言 时间:
2014-06-08 15:25:00
阅读次数:
282
报错信息:
Failed to rename [/opt/proj.log] to [/opt/proj.log.2014-03-20].
这个算是log4j.DailyRollingFileAppender的一个BUG。
文件重命名失败
Java进行了其他的读写流之类的操作,然后重命名文件,则操作失败。...
分类:
编程语言 时间:
2014-06-08 15:10:55
阅读次数:
459
public static Date stringToDate(String str) {
DateFormat format = new SimpleDateFormat("yyyy-MM-dd");
Date date = null;
try {
// Fri Feb 24 00:00:00 CST...
分类:
编程语言 时间:
2014-06-08 09:49:00
阅读次数:
268
在做根据日期来检索的时候普通的格式化会出错,试了好多种只有一种可行
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
String time = "lostTime:["+sdf.format(new Date())+" TO "+sdf.format(new Date())+"]";...
分类:
其他好文 时间:
2014-06-07 12:48:43
阅读次数:
256
Warning: Format string is not a string literal
(potentially insecure)[objc]view
plaincopyNSString*str=nil;str=[NSStringstringWithFormat:@"---%d---",18...
分类:
其他好文 时间:
2014-06-07 06:52:53
阅读次数:
263