摘要: /* 题意: 给N个比赛结果,输出拓扑排名 YY:拓扑排序,初搞,最近练邻接表,感觉比邻接矩阵快的多 两个都写了一下,竟差两倍之多,邻接表神物啊!!!*///邻接表 Accepted 1285 15MS 248K 1030 B C++ kfinder#include <iostream>using namespace std;int ind[505]; // indeg... 阅读全文
posted @ 2011-01-21 19:14 kfinder 阅读(2411) 评论(0) 推荐(0) 编辑