ACM模板——拓扑排序-CSDN博客

网站介绍:文章浏览阅读141次。暂时 1 bool topo() 2 { 3 int count = 0 ; 4 while (!q.empty()) 5 q.pop(); 6 for (int i = 1; i <= n; i++) 7 ..._acm 拓扑排序模板