码迷,mamicode.com
首页 >  
搜索关键字:perm    ( 1440个结果
leetcode[47]Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2015-02-10 14:37:42    阅读次数:208
Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2015-02-09 00:42:31    阅读次数:150
permutations
#include #include #define SWAP(x,y,t) ((t)=(x),(x)=(y),(y)=(t)) void perm(char *list,int k,int m) { char temp; if(k==m) { printf("%s\n",list); } else { for(int i=k;i<=m;i++) { SWAP(l...
分类:其他好文   时间:2015-02-06 16:49:49    阅读次数:155
kill命令"-1"这个参数到底是杀进程还是reload?(转)
kill-1:重新读取一次参数的配置文件 (类似 reload)这句话给我的感觉是把进程杀掉后重启进程,即 reload。而我查了下 man kill,-1 对应的 signal 是 SIGHUP,用个find / -perm +7000 > /dev/null 2>&1 &命令试验了下确实是杀进程...
分类:系统相关   时间:2015-02-06 14:33:22    阅读次数:164
【BZOJ 1072】 [SCOI2007]排列perm
用STL水过状压dp~...
分类:其他好文   时间:2015-02-01 12:13:36    阅读次数:160
Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2015-01-25 00:00:27    阅读次数:190
Linux命令:find命令 查找文件
find命令是Linux下最常用的命令之一,灵活的使用find命令,你会发现查找文件变得十分简单。命令格式find [指定查找目录] [查找规则(选项)] [查找完后执行的动作]参数规则-name 按照文件名查找文件-iname 根据文件名查找,但是不区分大小写-perm 按照文件权限来查找文件-p...
分类:系统相关   时间:2015-01-22 17:51:24    阅读次数:229
【leetcode】Permutations II (middle)
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2015-01-21 22:16:01    阅读次数:290
马哥笔记08_01~~~08_04
FACL:FilessystemAccessControlList利用文件扩展保存额外的访问控制权限。jerry:rw-setfacl-m:设定u:UID:permg:GID:perm-x:取消u:UIDg:GIDgetfacl(取消)文件属性最后带有“+”号,是该文件的扩展属性。如果你复制或者归档等这个文件,新文件的附加属性将会被丢弃,..
分类:其他好文   时间:2015-01-21 20:18:36    阅读次数:181
JVM参数和jvm.log
参数说明:-Xms 初始堆大小-Xmx 最大堆大小-Xmn 年轻代大小 eden + 2 survivor space-XX:SurvivorRatio=8 Eden区与Survivor区的大小比值-XX:PermSize 设置持久代(perm gen)初始值-XX:...
分类:其他好文   时间:2015-01-15 21:38:09    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!