随笔分类 - STL-堆、优先队列
摘要:D2T4 机器人 题目 刚上初一的小纯特别喜欢机器人,这周末,她报名了学校的“小机器人俱乐部”,而进入俱乐部需要通过一场考试。 考试场地可以看作一个 的网格图,行从上往下标号为 ,列从左往右标号为 。每个格子
阅读全文
摘要:题目链接 题目 There are several days left before the fiftieth birthday of a famous Berland's writer Berlbury. In this connection the local library decided t
阅读全文
摘要:题目链接 题目 Everyone knows that long ago on the territory of present-day Berland there lived Bindian tribes. Their capital was surrounded by n n n hills,
阅读全文
摘要:题目链接 题目 This is yet another problem on regular bracket sequences. A bracket sequence is called regular, if by inserting "+" and "1" into it we get a c
阅读全文
摘要:题目 Farmer John owns a long farm along the highway that can be considered somewhat like a one-dimensional number line. Along the farm, there are
阅读全文
摘要:题目链接 题目 话说发源于小朋友精心设计的游戏被电脑组的童鞋们藐杀之后非常不爽,为了表示安慰和鼓励,VIP999 决定请他吃一次“年年大丰收”,为了表示诚意,他还决定亲自去钓鱼。 但是,因为还要准备 NOIP2013, z老师只给了他 个小时的空余时间,假设有 个鱼塘都在一条
阅读全文