![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM
yoonadeer
太难了
展开
-
D - The Meeting Place Cannot Be Changed
The main road in Bytecity is a straight line from south to north. Conveniently, there are coordinates measured in meters from the southernmost building in north direction.At some points on the road th...原创 2018-04-04 11:06:26 · 222 阅读 · 0 评论 -
dp补题记录
完全背包HDU - 1114Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irreversibly Bound Money (IBM). The i...原创 2019-04-15 21:01:52 · 113 阅读 · 0 评论 -
dp补题记录2
命运HDU - 2571穿过幽谷意味着离大魔王lemon已经无限接近了!可谁能想到,yifenfei在斩杀了一些虾兵蟹将后,却再次面临命运大迷宫的考验,这是魔王lemon设下的又一个机关。要知道,不论何人,若在迷宫中被困1小时以上,则必死无疑!可怜的yifenfei为了去救MM,义无返顾地跳进了迷宫。让我们一起帮帮执着的他吧!命运大迷宫可以看成是一个两维的方格阵列,如下图所...原创 2019-04-15 21:05:32 · 97 阅读 · 0 评论 -
dp补题记录3
01背包HDU - 2955The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to w...原创 2019-04-15 22:27:04 · 110 阅读 · 0 评论 -
HDU - 3974 Assign the task DFS序建线段树
训练摸鱼发现好久没写博客了,下个月去区域赛了,有点小慌,水个博客压压惊。不想贴题目,简单说下题意就是有一群员工具有上下级关系,体现出来就是一颗多叉树,子节点是父亲的下属这样子。然后现在安排工作,更新一个员工的工作序号的时候需要同时把下属的工作序号一起完成更新。dfs序+线段树区间处理一下就水过了线段树是基本操作。dfs序就是因为是一颗多叉树,那么对于树dfs遍历节点的出入得到一个序列,...原创 2019-09-26 20:07:36 · 124 阅读 · 0 评论