
Basic Datastucture
文章平均质量分 89
Chlerry
We're all just prisoners here, of our own device.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[POJ1806]Stripies
DescriptionOur chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian - polosatiki, but the scientists had to invent an English nam原创 2015-04-24 12:54:39 · 347 阅读 · 0 评论 -
[FZU2195]检查站点
Problem Description在山上一共有N个站点需要检查,检查员从山顶出发去各个站点进行检查,各个站点间有且仅有一条通路,检查员下山前往站点时比较轻松,而上山时却需要额外的时间,问最后检查员检查完所有站点时所需要的额外时间最少是多少。Input包含多组数据 每组数据输入第一行为一个整数N 表示站点个数(1<=N<=100000),接下去N-1 行 每行3个整数 x,y,z(1<=z<=10原创 2015-05-04 01:49:15 · 361 阅读 · 0 评论 -
[ZeptoLab Code Rush 2015]Om Nom and Dark Park
Om Nom is the main character of a game “Cut the Rope”. He is a bright little monster who likes visiting friends living at the other side of the park. However the dark old parks can scare even somebody原创 2015-04-06 21:29:59 · 416 阅读 · 0 评论 -
[Codeforces Round #296]Glass Carving
Leonid wants to become a glass carver (the person who creates beautiful artworks by cutting the glass). He already has a rectangular w mm × h mm sheet of glass, a diamond glass cutter and lots of enthusiasm.原创 2015-04-07 10:49:33 · 334 阅读 · 0 评论 -
[Codeforces Round #318]Bear and Elections
Problem DescriptionLimak is a grizzly bear who desires power and adoration. He wants to win in upcoming elections and rule over the Bearland.There are n candidates, including Limak. We know how many ci原创 2015-09-09 20:21:19 · 326 阅读 · 0 评论 -
[Codeforces Round #317]Order Book
In this task you need to process a set of stock exchange orders and use them to create order book.An order is an instruction of some participant to buy or sell stocks on stock exchange. T原创 2015-09-09 20:27:21 · 304 阅读 · 0 评论