码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
[leetcode]Word Search
Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, wh...
分类:其他好文   时间:2014-07-16 18:17:13    阅读次数:208
poj 2251 Dungeon Master
Dungeon Master Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 16089   Accepted: 6241 Description You are trapped in a 3D dungeon and need to find the quicke...
分类:其他好文   时间:2014-07-16 17:27:08    阅读次数:224
Linux find 去除错误消息
当Linux 进行查找时,对某些目录的访问可能没有权限而无法进行访问,打印出很多错误消息 1、root目录文件内容 -bash-3.2$ ls anaconda-ks.cfg  bea  Desktop  lib  wls1036_generic.jar 2、查找.log结尾的文件, -bash-3.2$ find . -name "*.log" find: ./.gconfd...
分类:系统相关   时间:2014-07-16 17:27:01    阅读次数:433
UVA 23 out of 5
题目如下: Problem I 23 Out of 5 Input: standard input Output: standardoutput Time Limit: 1 second Memory Limit: 32 MB Your task is to writea program that can decide whether you can find an arithm...
分类:其他好文   时间:2014-07-16 17:16:32    阅读次数:203
【翻译自mos文章】回收 asm磁盘空间的方法
回收 asm磁盘空间的方法...
分类:其他好文   时间:2014-07-15 22:20:51    阅读次数:242
分别利用并查集,DFS和BFS方法求联通块的数量
联通块是指给定n个点,输入a,b(1#includeusing namespace std;const int maxn=1010;int p[maxn];//作为每个独立的点 int sum[maxn];//每个节点下面连接的点 int find(int x) {if(x==p[x])return...
分类:移动开发   时间:2014-07-14 22:21:30    阅读次数:403
rpm build error: invalid predicate
rpm build errorerror message:/usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/RPMS find: invalid predicate `' error: Bad exit status from /var/tmp...
分类:其他好文   时间:2014-07-14 21:28:46    阅读次数:791
jquery遍历table tr td内容
$("#result").find("tr").each(function () { $(this).find("td").each(function () { if ($(this).text().indexOf("惠") > ...
分类:Web程序   时间:2014-07-14 19:04:17    阅读次数:276
poj 1611 The Suspects
一道比最基础的并查集有优化的题; l         并查集的优化 1、Find_Set(x)时 路径压缩 寻找祖先时我们一般采用递归查找,但是当元素很多亦或是整棵树变为一条链时,每次Find_Set(x)都是O(n)的复杂度,有没有办法减小这个复杂度呢? 答案是肯定的,这就是路径压缩,即当我们经过"递推"找到祖先节点后,"回溯"的时候顺便将它的子孙节点都直接指向祖先,这样以后...
分类:其他好文   时间:2014-07-14 18:30:13    阅读次数:233
C和指针 (pointers on C)——第六章:指针(下)习题
有一定的难度,作者只做了前三题! 题目请见 http://download.csdn.net/download/wangpegasus/5701765 1、char *find_char(char const *source, char const *chars) { char *ptr; if(source != NULL && chars != NULL) { for (; ...
分类:其他好文   时间:2014-07-14 18:16:35    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!