码迷,mamicode.com
首页 >  
搜索关键字:liunx find    ( 25207个结果
[Leetcode] Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-07-22 23:16:14    阅读次数:408
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-07-22 23:11:32    阅读次数:388
20140429
1、单链表循环体用while(p->next!=NULL)而不用while(p!=NULL)的原因 node *Find_MidNode(node *head){ if(head->next==NULL||head->next->next==NULL) return head->next; node...
分类:其他好文   时间:2014-07-22 23:11:15    阅读次数:374
linux find用法总结
前言:我们为什么要学会使用find命令?转自:http://blog.chinaunix.net/uid-24648486-id-2998767.html每一种操作系统都有成千上万的文件组成,对于linux这样“一切皆文件”的操作系统来说更不例外,大家应该都能很轻松使用windows下的文件查找功能...
分类:系统相关   时间:2014-07-22 23:10:56    阅读次数:608
(转)linux常用命令
原地址:http://www.cnblogs.com/svage/p/3700122.html1、删除目录及子目录下的 .svn目录 find . -type d -name ".svn" | xargs rm -rf2、/tmp 目录的权限drwxrwxrwt rwt的意思是:对目录有执行权...
分类:系统相关   时间:2014-07-22 23:09:34    阅读次数:552
liunx trac 插件使用之DateFieldPlugin
插件GanttCalendarPlugin安装完以后,有一个问题,就是在选择起始与结束时间的时候,为了方便有datepicker功能,如图需要用到插件DateFieldPlugin,官网链接http://trac-hacks.org/wiki/DateFieldPlugin
分类:其他好文   时间:2014-04-30 15:28:48    阅读次数:259
liunx trac 邮件提示功能
http://trac.edgewall.org/wiki/TracNotification官网上提供的方法。个人觉得不是清楚,不过还是有参考价值的。以下写下自己的添加过程,以作记录。1.the[trac] base_urloption must be set intrac.ini.base_url...
分类:其他好文   时间:2014-04-30 14:26:15    阅读次数:365
【HDOJ】3560 Graph’s Cycle Component
并查集的路径压缩。 1 #include 2 #include 3 4 #define MAXNUM 100005 5 6 int deg[MAXNUM], bin[MAXNUM]; 7 char isCycle[MAXNUM]; 8 9 int find(int x) {10 i...
分类:其他好文   时间:2014-04-29 17:22:46    阅读次数:308
six solutions to a single symmetrical problem
Problem description:given a string, find the longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start and end of the substring...
分类:其他好文   时间:2014-04-29 17:22:46    阅读次数:308
VC6微软正则表达式greta使用案例
#include#include"regexpr2.h"usingnamespacestd;usingnamespaceregex;//greta库的命名空间//若链接出错,设置MFC静态链接//查找匹配串//返回结果匹配串(CStringArray数组指针类型)CStringArray*Find(...
分类:其他好文   时间:2014-04-29 17:15:48    阅读次数:363
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!