按v进入visual状态,选择多行,用>或<缩进或缩出通常根据语言特征使用自动缩进排版:在命令状态下对当前行用== (连按=两次), 或对多行用n==(n是自然数)表示自动缩进从当前行起的下面n行。你可以试试把代码缩进任意打乱再用n==排版,相当于一般IDE里的code format。使用gg=G可...
分类:
系统相关 时间:
2015-01-29 22:20:15
阅读次数:
318
The net file format is used to describe the axtNet data that underlie the net alignment annotations in the Genome Browser. For a detailed description ...
分类:
Web程序 时间:
2015-01-29 22:18:04
阅读次数:
198
A - Number Sequence
Crawling in process...
Crawling failed
Time Limit:5000MS
Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Description
Given two sequences of numbers : a[1...
分类:
其他好文 时间:
2015-01-29 17:52:50
阅读次数:
240
F - Rope
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Plotters have barbarously hammered N nails into an innocent plane shap...
分类:
其他好文 时间:
2015-01-29 17:48:35
阅读次数:
134
Xcode6使用storyboard拖拖约束很快就搭建出来项目,针对有些不能拖的,还是需要手动实现约束的。
稍微研究了下NSLayoutContraint,使用起来也还算是方便。
+ (NSArray *)constraintsWithVisualFormat:(NSString *)format options:(NSLayoutFormatOptions)opts
metrics:...
分类:
其他好文 时间:
2015-01-29 17:46:18
阅读次数:
96
// 如果日期不合法,则抛异常
try {
String date_str = "5555-22-33";
SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd");
format.setLenient(false);
Date date = format.parse(date_str);
} catch (Excepti...
分类:
编程语言 时间:
2015-01-29 17:40:45
阅读次数:
198
Lucky and Good Months by Gregorian Calendar
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Appoint description:
System Crawler (2013-03-03)
...
分类:
其他好文 时间:
2015-01-29 15:56:49
阅读次数:
273
B - Reverse Root
Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
The problem is so easy, that the authors were lazy to write a ...
分类:
其他好文 时间:
2015-01-29 14:38:16
阅读次数:
99
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uDescriptionThe ministers of the cabinet were quite upset by the message from the C...
分类:
其他好文 时间:
2015-01-29 14:31:47
阅读次数:
244
Bone Collector
Crawling in process...
Crawling failed
Time Limit:1000MS
Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Description
Many years ago , in Teddy’s hometown ...
分类:
其他好文 时间:
2015-01-29 12:51:16
阅读次数:
142