题目来源:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1549 并查集,求出每个friends集合,然后再计算每个集合friends个数,求出最...
分类:
其他好文 时间:
2014-07-27 22:01:29
阅读次数:
234
命令简介: 该命令用用来删除空目录,如果目录非空,则会出现错误。可以使用rm删除目录中的文件后,使用rmdir删除目录。也可以使用rm -rf替代rmdir命令。这是一个非常简单的命令。 命令语法: rmdir [OPTION]... DIRECTORY... 命令参数: 参数 长参数 描叙 --i...
分类:
系统相关 时间:
2014-07-27 21:48:29
阅读次数:
279
uva10003:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=944题意:给你一个木棍,然后让你切n刀,每次切都会有一个费用。例如,假如说一开始木棍长是1...
分类:
其他好文 时间:
2014-07-27 11:06:12
阅读次数:
219
uvaLive 3644:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1645题意::每个化合物都是有两种元素组成的,如果车上存在k个简单...
分类:
其他好文 时间:
2014-07-27 09:59:12
阅读次数:
282
grub-install--boot-directory=/mnt/boot/dev/sdaunrecognizedoption--boot-directory=/mnt/bootError8r:KernelmustbeloadedbeforebootingSwitchingtolocksourcetscregisteredtaskstatsversion1inputimps/2GenericWheelMouseas/devices/platform/i802/serio1/input/input3/ftc_..
分类:
其他好文 时间:
2014-07-26 03:11:17
阅读次数:
404
I would like to know what would be the best way to save contents from a web page. I mean to force save-as option by clicking a link or button. I often found that javascript would not be an option beca...
分类:
Web程序 时间:
2014-07-26 02:29:06
阅读次数:
297
jquery mutilselect默认只能根据设置的option来进行自动提示$.each(availableTags, function(key, value) { $('#channels') .append($("") ....
分类:
Web程序 时间:
2014-07-26 00:16:06
阅读次数:
252
uva11997:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=24&problem=3148&mosmsg=Submission+received+wi...
分类:
其他好文 时间:
2014-07-25 23:55:50
阅读次数:
541
练习题:1、输入3个数,输出其中最大的那个值。Option ExplicitDim intA,intB,intCintA=CInt(InputBox("请输入a:"))intB=CInt(InputBox("请输入b:"))intC=CInt(InputBox("请输入c:"))If intA>in...
分类:
其他好文 时间:
2014-07-25 23:55:40
阅读次数:
498
1、函数。 语法:$.cookie(名称,值,[option]) (1)读取cookie值 $.cookie(cookieName) cookieName:要读取的cookie名称。 示例:$.cookie("username"); 读取保存在cookie...
分类:
Web程序 时间:
2014-07-25 14:18:21
阅读次数:
439