拓扑排序
文章平均质量分 75
thunderMrbird
西北工业大学-李丰基
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
uva10305 拓扑排序
John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task isonly possible if other tasks have already been executed. 题干很短,意思很简单,拓扑排序。 我的方法是用队列做,将入度为零的点进队,每次出原创 2016-07-26 16:56:04 · 632 阅读 · 0 评论 -
poj1094 拓扑排序(屎)
An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to largest. For example, the sorted sequence A, B, C, D原创 2016-07-27 11:10:50 · 606 阅读 · 0 评论 -
hdu1811 并查集+拓扑排序
Description 自从Lele开发了Rating系统,他的Tetris事业更是如虎添翼,不久他遍把这个游戏推向了全球。 为了更好的符合那些爱好者的喜好,Lele又想了一个新点子:他将制作一个全球Tetris高手排行榜,定时更新,名堂要比福布斯富豪榜还响。关于如何排名,这个不用说都知道是根据Rating从高到低来排,如果两个人具有相同的Rating,那就按这几个人的RP从高到低来原创 2016-07-29 11:02:35 · 1288 阅读 · 0 评论
分享