![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
拓扑排序
Reast1nPeace
NUC acm/icpc
展开
-
计蒜客 Skiing 2017乌鲁木齐网络赛 拓扑排序
题目:In this winter holiday, Bob has a plan for skiing at the mountain resort.This ski resort has MM different ski paths and NNdifferent flags situated at those turning points.The ii-th path from the S_...原创 2018-05-02 19:35:15 · 234 阅读 · 0 评论 -
CodeForces - 915D Almost Acyclic Graph 拓扑排序
题目:D. Almost Acyclic Graphtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a directed graph consisting of n vertices and m edges (each...原创 2018-05-02 20:52:27 · 305 阅读 · 0 评论