![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
---- 拓扑排序 -----
文章平均质量分 86
叶孤心丶
这个作者很懒,什么都没留下…
展开
-
HDU 2094 产生冠军
产生冠军Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2094Description有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打原创 2014-08-25 21:13:54 · 484 阅读 · 0 评论 -
HDU 1285 确定比赛名次
确定比赛名次Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1285Description有N个比赛队(1 Input输入有若干组,每组中的第一行为二个数N(1原创 2014-08-25 21:10:53 · 428 阅读 · 0 评论 -
C. Fox And Names(Codeforces Round #290 (Div. 2))
C. Fox And Namestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel is going to publish a paper on FO原创 2015-02-03 14:14:19 · 1022 阅读 · 0 评论 -
UVA Ordering Tasks (经典拓扑排序)
题意:n个任务,m组数据,每组数据输入x,y代表如果想要完成y任务需要先完成x任务,最后输出任务的完成顺序。经典的拓扑排序。代码:#include#include#include#include#include#includeusing namespace std;int map[105][105];int num[105];int n原创 2015-01-22 17:14:37 · 766 阅读 · 0 评论 -
poj 1094 Sorting It All Out(拓扑排序)
Sorting It All OutTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 28762 Accepted: 9964DescriptionAn ascending sorted sequence of distinct values is one原创 2015-03-06 18:25:12 · 422 阅读 · 0 评论 -
HDU 1811 Rank of Tetris(并查集+拓扑排序)
Rank of TetrisTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1811Description自从Lele开发了Rating系统,他的Tetris事业更是如虎添翼,不久他遍把这个游戏推向原创 2015-03-10 20:57:24 · 543 阅读 · 0 评论 -
poj 3687 Labeling Balls(拓扑排序)
Labeling BallsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11323 Accepted: 3253DescriptionWindy has N balls of distinct weights from 1 unit to N unit原创 2015-03-06 18:23:26 · 417 阅读 · 0 评论