一:查看cpumore /proc/cpuinfo | grep "model name"grep "model name" /proc/cpuinfo如果觉得需要看的更加舒服grep "model name" /proc/cpuinfo | cut -f2 -d:怎么样,linux的命令就要这样熟...
分类:
其他好文 时间:
2015-05-19 18:39:27
阅读次数:
134
Graph Connectivity
Time Limit: 8000MS
Memory Limit: 131072K
Total Submissions: 3381
Accepted: 883
Case Time Limit: 3000MS
Description
Let us consider an undirect...
分类:
其他好文 时间:
2015-05-19 07:16:12
阅读次数:
103
文本处理cut:-d:指定字段分隔符,默认是空格-f:指定显示的字段-f1,3显示1和3列-f1-3显示1到3列例子:cat/etc/passwd|cut-d‘:‘-f1,3文本排序sort:-n:按数值排序,默认是升序-r:反序排序-t:字段分隔符-k:以那个字段为关键字进行排序-u:排序后相同的行只显示一次-f:忽略字符大小写..
分类:
其他好文 时间:
2015-05-18 21:11:06
阅读次数:
140
题目传送门 1 /* 2 题意:两点之间有不同颜色的线连通,问两点间单一颜色连通的路径有几条 3 DFS:暴力每个颜色,以u走到v为结束标志,累加条数 4 注意:无向图 5 */ 6 #include 7 #include 8 #include 9 #include 1...
分类:
其他好文 时间:
2015-05-18 18:35:39
阅读次数:
178
DescriptionLet's consider one interesting word game. In this game you should transform one word into another through special operations.Let's say we h...
分类:
其他好文 时间:
2015-05-18 18:26:43
阅读次数:
151
字符串类型验证ctype_alnum— 做字母和数字字符检测ctype_alpha— 做纯字符检测ctype_cntrl— 做控制字符检测ctype_digit— 做纯数字检测ctype_graph— 做可打印字符串检测,空格除外ctype_lower— 做小写字符检测ctype_print— 做可...
分类:
Web程序 时间:
2015-05-18 18:09:44
阅读次数:
135
http://poj.org/problem?id=3017
Description
Given an integer sequence { an } of length N, you are to cut the sequence into several parts every one of which is a consecutive subsequence of the ori...
分类:
其他好文 时间:
2015-05-18 16:52:11
阅读次数:
130
It's not Floyd AlgorithmTime Limit:4 Seconds Memory Limit:32768 KBWhen a directed graph is given, we can solve its transitive closure easily using the...
分类:
其他好文 时间:
2015-05-18 14:19:48
阅读次数:
129
转:http://blog.csdn.net/asongoficeandfire/article/details/8434799Efficient Graph-Based Image Segmentation是2004年由Felzenszwalb发表在IJCV上的一篇文章。主要介绍了基于图表示的图像...
分类:
其他好文 时间:
2015-05-17 18:28:10
阅读次数:
266
转自:http://blog.csdn.net/zouxy09/article/details/8532111Graph Cut,下一个博文我们再学习下Grab Cut,两者都是基于图论的分割方法。另外OpenCV实现了Grab Cut,具体的源码解读见博文更新。接触时间有限,若有错误,还望各位前辈...
分类:
其他好文 时间:
2015-05-17 18:24:55
阅读次数:
129