2011年10月31日

摘要: 题目内容Network SaboteurTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 6562 Accepted: 2844DescriptionA university network is composed of N computers. System administrators gathered information on the traffic between nodes, and carefully divided the network into two subnetworks i... 阅读全文
posted @ 2011-10-31 18:12 SilVeRyELF 阅读(365) 评论(0) 推荐(0) 编辑

2011年10月30日

摘要: 题目内容PotsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5822 Accepted: 2451 Special JudgeDescriptionYou are given two pots, having the volume of A and B liters respectively. The following operations can be performed: 1. FILL(i) fill the pot i (1 ≤ i ≤ 2) from ... 阅读全文
posted @ 2011-10-30 21:15 SilVeRyELF 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Linux下的KDevelop功能强大,界面美观,我个人非常喜欢。美中不足的是每次退出都会弹出来“KDE崩溃处理程序”,让人很不爽。虽然官方给出了解决方案,但那长长的文档让人无法耐着性子看下去。我自己简单地跟踪了一下Kdevelop的运行,发现每次关闭的时候都会调用一个程序,我的机器上是/usr/lib/kde4/libexec/drkonqi把这个文件重命名后就没有那个讨厌的崩溃窗口了。暂时没找到这样做的隐患,欢迎大家补充!另:谁能告诉我完善的解决这个问题的方法?请留言,谢谢! 阅读全文
posted @ 2011-10-30 19:04 SilVeRyELF 阅读(1371) 评论(4) 推荐(0) 编辑
摘要: 题目内容Prime PathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6432 Accepted: 3673DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices.— It is ... 阅读全文
posted @ 2011-10-30 18:50 SilVeRyELF 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 题目内容Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 26330 Accepted: 8122DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a p... 阅读全文
posted @ 2011-10-30 15:41 SilVeRyELF 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目内容 Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10134 Accepted: 3908DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to mov... 阅读全文
posted @ 2011-10-30 09:22 SilVeRyELF 阅读(169) 评论(0) 推荐(0) 编辑

2011年10月29日

摘要: 棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12845 Accepted: 6344Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n*n的矩阵内描述棋盘,以及摆放棋子的数目。 n <= 8 , k <= n当为-1 -1时表示输入结 阅读全文
posted @ 2011-10-29 21:02 SilVeRyELF 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 初级:基本算法:枚举:1753 2965贪心:1328 2109 2586构造:3295模拟:1068 2632 1573 2993 2996图:最短路径:1860 3259 1062 2253 1125 2240最小生成树:1789 2485 1258 3026拓扑排序:1094二分图的最大匹配:3041 3020最大流的增广路算法:1459 3436数据结构:串:1035 3080 1936排序:2388 2299哈希表和二分查找等高效查找法:3349 3274 2151 1840 2002 2503哈夫曼树:3253树:2513简单搜索:深度优先搜索:2488 3083 3009 132 阅读全文
posted @ 2011-10-29 16:58 SilVeRyELF 阅读(1784) 评论(0) 推荐(2) 编辑

2011年10月28日

摘要: Curling 2.0Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 5792Accepted: 2381DescriptionOn Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played on an ice game board on which a square mesh is marked. 阅读全文
posted @ 2011-10-28 21:39 SilVeRyELF 阅读(165) 评论(0) 推荐(0) 编辑

2011年10月14日

摘要: 初级:基本算法:枚举:1753 2965贪心:1328 2109 2586构造:3295模拟:1068 2632 1573 2993 2996图:最短路径:1860 3259 1062 2253 1125 2240最小生成树:1789 2485 1258 3026拓扑排序:1094二分图的最大匹配:3041 3020最大流的增广路算法:1459 3436数据结构:串:1035 3080 1936排序:2388 2299哈希表和二分查找等高效查找法:3349 3274 2151 1840 2002 2503哈夫曼树:3253树:2513简单搜索:深度优先搜索:2488 3083 3009 132 阅读全文
posted @ 2011-10-14 20:26 SilVeRyELF 阅读(1587) 评论(0) 推荐(0) 编辑

导航