题目:给你一些字符串,问哪些字符串不是其他字符串的子集,字符串的集合为字母组成的重集。
分析:字符串,dancing-links。Knuth有一篇关于dancing-links的论文,讲述关于搜索的优化。
在搜索时,将所有的状态建立一个链表,表之间的状态建立相互关系。
每次搜索时,进行剪枝,将不成立的节点从链表中删掉,回溯时在拼上去。...
分类:
其他好文 时间:
2014-06-05 12:43:05
阅读次数:
228
Original link: How to check if Directory
already Exists in MFC(VC++)?MSDN Links:CreateDirectory functionGetFileAttributes
functionGetLastError functio...
分类:
其他好文 时间:
2014-05-29 17:49:25
阅读次数:
371
Treasure MapTime Limit:2 Seconds Memory Limit:32768
KBYour boss once had got many copies of a treasure map. Unfortunately, all the
copies are now brok...
分类:
其他好文 时间:
2014-05-29 04:02:47
阅读次数:
313
“Database(数据库)”主页>“Related Links相关链接)”区域>
“Alert Log Content
(预警日志内容)”查看预警日志每个数据库都有一个alert_.log文件。此文件位于数据库所在的服务器中,如果设置了$ORACLE_BASE,则此文件默认存储在$ORACLE_B...
分类:
数据库 时间:
2014-05-28 09:30:10
阅读次数:
540
1017 - Exact cover时间限制:15秒内存限制:128兆自定评测5584 次提交
2975 次通过题目描述There is an N*M matrix with only 0s and 1s, (1 8 #include 9 #include
10 #include 11 ...
分类:
其他好文 时间:
2014-05-26 16:48:48
阅读次数:
406
ls
-l:长格式
文件类型:
-:普通文件 (f)
d: 目录文件
b: 块设备文件 (block)
c: 字符设备文件 (character)
l: 符号链接文件(symbolic link file)
p: 命令管道文件(pipe)
s: 套接字文件(socket)
文件权限:9位,每3位一组,每一组:rwx(读,写,执行), r--
文件硬链接的次数
文件的属主(o...
分类:
其他好文 时间:
2014-05-25 01:55:01
阅读次数:
262
DescriptionA network administrator manages a
large network. The network consists of N computers and M links between pairs of
computers. Any pair of co...
分类:
Web程序 时间:
2014-05-21 20:23:55
阅读次数:
419
显示分支
$git rev-parse --symbolic --branches
显示里程碑
$git rev-parse --symbolic --tags
显示引用
$git rev-parse --symbolic --branches
refs/heads/master
refs/remotes/origin/HEAD
refs/remotes/origin/master...
分类:
其他好文 时间:
2014-05-13 06:03:57
阅读次数:
387
linux权限及ntfs文件系统权限的知识
文件的权限:
[-dcbps][u:rwx][g:rwx][a:rwx]
其中: r=4, w=2, x=1, u=owner, g=group, a=all user
d=dir, -=file, l=symbolic link, p=pipe,
c=character device...
分类:
系统相关 时间:
2014-05-10 04:41:09
阅读次数:
511
Array.prototype.slice.call(document.links,0).forEach(function(link){link.onmousedown
= null})插件总失效 用这个对付下
分类:
其他好文 时间:
2014-05-10 00:15:19
阅读次数:
250