上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 1766 树上的最远点对 基准时间限制:3 秒 空间限制:524288 KB 分值: 80 难度:5级算法题 1766 树上的最远点对 基准时间限制:3 秒 空间限制:524288 KB 分值: 80 难度:5级算法题 1766 树上的最远点对 基准时间限制:3 秒 空间限制:524288 KB 分 阅读全文
posted @ 2017-10-08 13:00 μSsia 阅读(1043) 评论(0) 推荐(2)
摘要: 1051: [HAOI2006]受欢迎的牛 Description 每一头牛的愿望就是变成一头最受欢迎的牛。现在有N头牛,给你M对整数(A,B),表示牛A认为牛B受欢迎。 这 种关系是具有传递性的,如果A认为B受欢迎,B认为C受欢迎,那么牛A也认为牛C受欢迎。你的任务是求出有多少头 牛被所有的牛认为 阅读全文
posted @ 2017-10-07 18:16 μSsia 阅读(189) 评论(0) 推荐(0)
摘要: 2730: [HNOI2012]矿场搭建 Description 煤矿工地可以看成是由隧道连接挖煤点组成的无向图。为安全起见,希望在工地发生事故时所有挖煤点的工人都能有一条出路逃到救援出口处。于是矿主决定在某些挖煤点设立救援出口,使得无论哪一个挖煤点坍塌之后,其他挖煤点的工人都有一条道路通向救援出口 阅读全文
posted @ 2017-10-07 17:06 μSsia 阅读(252) 评论(0) 推荐(0)
摘要: 1623: [Usaco2008 Open]Cow Cars 奶牛飞车 Description 编号为1到N的N只奶牛正各自驾着车打算在牛德比亚的高速公路上飞驰.高速公路有M(1≤M≤N)条车道.奶牛i有一个自己的车速上限Si(l≤Si≤1,000,000). 在经历过糟糕的驾驶事故之后,奶牛们变得 阅读全文
posted @ 2017-10-07 13:17 μSsia 阅读(252) 评论(0) 推荐(0)
摘要: 3631: [JLOI2014]松鼠的新家 Description 松鼠的新家是一棵树,前几天刚刚装修了新家,新家有n个房间,并且有n-1根树枝连接,每个房间都可以相互到达,且俩个房间之间的路线都是唯一的。天哪,他居然真的住在“树”上。松鼠想邀请****前来参观,并且还指定一份参观指南,他希望**能 阅读全文
posted @ 2017-10-06 20:40 μSsia 阅读(187) 评论(0) 推荐(0)
摘要: 1775: [Usaco2009 Dec]Vidgame 电视游戏问题 Description Input * 第1行: 两个由空格隔开的整数: N和V * 第2到第N+1行: 第i+1行表示第i种游戏平台的价格和可以在这种游戏平台上面运行的游 戏。包含: P_i, G_i还有G_i对由空格隔开的整 阅读全文
posted @ 2017-10-02 00:59 μSsia 阅读(261) 评论(0) 推荐(0)
摘要: 1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场 Description The farm has many hills upon which Farmer John would like to place guards to ensure the safety 阅读全文
posted @ 2017-10-01 10:09 μSsia 阅读(302) 评论(0) 推荐(0)
摘要: = =自觉太颓,模拟赛 #432 Codeforces Round #432 (Div. 2, based on IndiaHacks Final Round 2017) A - Arpa and a research in Mexican wave: 这个就真的太... 有点像火车过隧道,随手一个 阅读全文
posted @ 2017-09-29 16:06 μSsia 阅读(196) 评论(0) 推荐(0)
摘要: 1819: [JSOI]Word Query电子字典 Description 人们在英文字典中查找某个单词的时候可能不知道该单词的完整拼法,而只知道该单词的一个错误的近似拼法,这时人们可能陷入困境,为了查找一个单词而浪费大量的时间。带有模糊查询功能的电子字典能够从一定程度上解决这一问题:用户只要输入 阅读全文
posted @ 2017-09-28 12:55 μSsia 阅读(303) 评论(0) 推荐(0)
摘要: E. Fire time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Fire time limit per test 2 se 阅读全文
posted @ 2017-09-26 14:08 μSsia 阅读(224) 评论(0) 推荐(0)
摘要: D. Make a Permutation! time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Make a Permuta 阅读全文
posted @ 2017-09-26 13:42 μSsia 阅读(226) 评论(0) 推荐(0)
摘要: C. Bus time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A bus moves along the coordinate 阅读全文
posted @ 2017-09-26 13:32 μSsia 阅读(199) 评论(0) 推荐(0)
摘要: B. Polycarp and Letters time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Polycarp and 阅读全文
posted @ 2017-09-26 13:21 μSsia 阅读(306) 评论(0) 推荐(0)
摘要: A. Fair Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Fair Game time limit per 阅读全文
posted @ 2017-09-26 13:12 μSsia 阅读(223) 评论(0) 推荐(0)
摘要: =w= 根据Annoucement,这次好像是某个全俄罗斯高校联合竞赛的网络同步赛(我记得我看到有人解释为什么这场比赛如此之早) 感觉还好,不是很难 不过第一次被时间压迫感觉挺奇妙的 最后没敲完E挺遗憾的,,不过也是学到很多 刚开始秒敲完A然后机房突然有人高喊:我被Hack了! 最后由于发现的及时, 阅读全文
posted @ 2017-09-25 22:14 μSsia 阅读(158) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页