1.findfind [搜索路径] [搜索关键字]比如查找/test中文件名为t5.tmp的文件:
查找根目录下大于100M的文件
注意,这里的204800单位是块,1块=512字节
在根目录下查找所有者为lenve的用户find / -user lenve查找在根目录下24小时内被修改过属性的文件或者文件夹(这里的1表示1天,即24小时)find / -ctime -1查找大于80M...
分类:
系统相关 时间:
2015-07-05 16:45:56
阅读次数:
177
Q:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters ...
分类:
其他好文 时间:
2015-07-05 16:41:08
阅读次数:
97
题目描述: We are all familiar with pre-order, in-order and post-order traversals of binary trees. A common problem in data structure classes is to find th...
分类:
其他好文 时间:
2015-07-05 16:26:26
阅读次数:
105
题意:
给n个长m的字符串,统计他们的出现频率,输出出现1次的有几种,出现2次的有几种...出现n次的有几种。n
分析:
也可以用排序,map水的,但还是写个trie树也不麻烦,trie树我就得就是针对字符串的hash表,效率如果数据大点是比暴力解法高很多的,另外写的时候不小心把index定义成char,n
代码:
//poj 2945
//sep9
#include
using na...
分类:
其他好文 时间:
2015-07-05 15:08:33
阅读次数:
166
题目:Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. Yo...
分类:
其他好文 时间:
2015-07-05 14:50:49
阅读次数:
104
3D dungeon时间限制:1000ms | 内存限制:65535KB难度:2描述You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes...
分类:
其他好文 时间:
2015-07-05 13:42:47
阅读次数:
95
题目连接http://poj.org/problem?id=2251Dungeon MasterDescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is compo...
分类:
其他好文 时间:
2015-07-05 12:24:25
阅读次数:
89
转自:http://docs.nuget.org/consume/package-manager-consoleThis topic describes how to find, install, remove, and update NuGet packages using PowerShell ...
分类:
其他好文 时间:
2015-07-05 09:29:22
阅读次数:
181
#include#includeusing namespace std;void main(){////find函数返回类型 size_typestring s("1a2b3c4d5e6f7g8h9i1a2b3c4d5e6f7g8ha9i");string flag;string::size_typ...
分类:
编程语言 时间:
2015-07-04 20:52:17
阅读次数:
189
find?.?-type?f?-exec sed?-i?‘s/\xEF\xBB\xBF//‘?{}?\;
分类:
系统相关 时间:
2015-07-04 19:49:12
阅读次数:
174