上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 78 下一页
1801: [Ahoi2009]chess 中国象棋Time Limit: 10 SecMemory Limit: 64 MBSubmit: 765Solved: 435[Submit][Status]Description在N行M列的棋盘上,放若干个炮可以是0个,使得没有任何一个炮可以攻击另一个炮... Read More
posted @ 2014-09-10 13:11 ZYF-ZYF Views(214) Comments(0) Diggs(0) Edit
2241: [SDOI2011]打地鼠Time Limit: 10 SecMemory Limit: 512 MBSubmit: 662Solved: 437[Submit][Status]Description打地鼠是这样的一个游戏:地面上有一些地鼠洞,地鼠们会不时从洞里探出头来很短时间后又缩回洞... Read More
posted @ 2014-09-10 12:29 ZYF-ZYF Views(297) Comments(0) Diggs(0) Edit
1977: [BeiJing2010组队]次小生成树 TreeTime Limit: 10 SecMemory Limit: 512 MBSubmit: 2108Solved: 463[Submit][Status]Description小 C 最近学了很多最小生成树的算法,Prim 算法、Kurs... Read More
posted @ 2014-09-09 19:29 ZYF-ZYF Views(243) Comments(0) Diggs(0) Edit
1491: [NOI2007]社交网络Time Limit:10 SecMemory Limit:64 MBSubmit:813Solved:479[Submit][Status]描述在社交网络(social network)的研究中,我们常常使用图论概念去解释一些社会现象。不妨看这样的一个问题。在... Read More
posted @ 2014-09-08 11:43 ZYF-ZYF Views(220) Comments(0) Diggs(0) Edit
1055: [HAOI2008]玩具取名Time Limit:10 SecMemory Limit:162 MBSubmit:820Solved:482[Submit][Status]Description某人有一套玩具,并想法给玩具命名。首先他选择WING四个字母中的任意一个字母作为玩具的基本名字... Read More
posted @ 2014-09-08 10:39 ZYF-ZYF Views(226) Comments(0) Diggs(0) Edit
1119: [POI2009]SLOTime Limit:30 SecMemory Limit:162 MBSubmit:379Solved:181[Submit][Status]Description对于一个1-N的排列(ai),每次你可以交换两个数ax与ay(xy),代价为W(ax)+W(ay)... Read More
posted @ 2014-09-08 09:43 ZYF-ZYF Views(261) Comments(0) Diggs(0) Edit
1486: [HNOI2009]最小圈Time Limit:10 SecMemory Limit:64 MBSubmit:979Solved:473[Submit][Status]Description题解:湖南题为什么出个这么裸的判负环,dfs的SPFA即可,精度把握好。代码: 1 #includ... Read More
posted @ 2014-09-07 23:19 ZYF-ZYF Views(209) Comments(0) Diggs(0) Edit
1098: [POI2007]办公楼biuTime Limit:20 SecMemory Limit:162 MBSubmit:777Solved:326[Submit][Status]DescriptionFGD开办了一家电话公司。他雇用了N个职员,给了每个职员一部手机。每个职员的手机里都存储有一... Read More
posted @ 2014-09-07 22:37 ZYF-ZYF Views(331) Comments(0) Diggs(0) Edit
2242: [SDOI2011]计算器Time Limit:10 SecMemory Limit:512 MBSubmit:1278Solved:492[Submit][Status]Description你被要求设计一个计算器完成以下三项任务:1、给定y,z,p,计算Y^Z Mod P 的值;2、... Read More
posted @ 2014-09-07 21:35 ZYF-ZYF Views(349) Comments(0) Diggs(0) Edit
1787: [Ahoi2008]Meet 紧急集合Time Limit:20 SecMemory Limit:162 MBSubmit:1155Solved:488[Submit][Status]DescriptionInputOutputSample Input6 4 1 2 2 3 2 4 4 ... Read More
posted @ 2014-09-07 21:12 ZYF-ZYF Views(186) Comments(0) Diggs(0) Edit
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 78 下一页