sort - sort lines of text files参数: -f 忽略大小写 -b 忽略最前面的空格部分 -M 以月份的名字来排序 -n 使用纯数字进行排序(默认是以文字类型来排序的) -r 反向排序 -u 就是uniq,相同的数据中,仅出现一行代表 -t 分隔符,默认是用t...
分类:
系统相关 时间:
2015-11-15 21:49:46
阅读次数:
281
一、简介 diff 命令用于比较文件的内容,是svn、cvs、git等版本控制工具不可或缺的一部分。 二、语法 -a或--text diff预设只会逐行比较文本文件。 -b或--ignore-space-change 不检查空格字符的不同。 -B或--ignore-blank-lines 不检查空白...
分类:
系统相关 时间:
2015-11-14 13:48:10
阅读次数:
418
题意: 给一个长度为n(n #include #include #include using namespace std;const int maxn=200005;const int INF=1000000000;int a[maxn],g[maxn],d[maxn];int r[maxn];i....
分类:
其他好文 时间:
2015-11-12 23:29:24
阅读次数:
451
题目的意思是求重合层数最多的段(把点也看成段)。给的数据范围为N 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 void local(int l,int r,int k); 9 void add(int l,i...
分类:
其他好文 时间:
2015-11-08 14:51:23
阅读次数:
188
linesTime Limit: 5000/2500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1350Accepted Submission(s): 558Problem Descri...
分类:
其他好文 时间:
2015-11-07 23:13:15
阅读次数:
289
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5124就是有n条在x轴的线段,给你线段的左右端点,每条线段都会覆盖点,求出最多被覆盖多少次;#include#include#include#include#includeusing namespace ...
分类:
编程语言 时间:
2015-11-07 21:45:06
阅读次数:
299
Intersecting LinesTime Limit:1000MSMemory Limit:10000KTotal Submissions:12863Accepted:5712DescriptionWe all know that a pair of distinct points on a p...
分类:
其他好文 时间:
2015-11-06 12:50:34
阅读次数:
263
Problem Description:John has several lines. The lines are covered on the X axis. Let A is a point which is covered by the most lines. John wants to kn...
分类:
其他好文 时间:
2015-11-05 22:08:01
阅读次数:
315
B. Anton and LinesThe teacher gave Anton a large geometry homework, but he didn't do it (as usual) as he participated in a regular round on Codeforces...
分类:
其他好文 时间:
2015-11-05 13:36:39
阅读次数:
218
ACM计算几何题目推荐一. 点,线,面,形基本关系,点积叉积的理解POJ 2318 TOYS && POJ 2398 Toy Storage点与线段的位置POJ3304Segments线段与直线的位置POJ1269Intersecting Lines直线位置POJ1556The Doors线段相交+...
分类:
其他好文 时间:
2015-11-04 13:09:10
阅读次数:
244