图论
水之积也不厚,则其负大舟也无力
渣硕求个大厂实习。。。
展开
-
有向图输出所有环,相同的环仅输出字典序最小的序列
注释超级详细。。不信你看不懂。。看不懂底下留言!!!!数据输入该有向图用链式图存储a b;a c;b e;e b;c d;d a运行结果#include<iostream>#include<string>#include<map>#include<vector>#include<algor...原创 2020-03-12 17:30:48 · 1045 阅读 · 5 评论 -
Layout(Belman Fold or BelmanFold+SPFA 差分约束)
Layout成绩10开启时间2018年02月20日 星期二 16:05折扣0.8折扣时间2018年12月30日 星期日 19:05允许迟交是关闭时间2018年12月30日 星期日 16:05DescriptionLike everyone else, cows like to stand close to their friends when queuing for feed. FJ has N ...原创 2018-03-28 17:32:26 · 298 阅读 · 0 评论 -
UVA-Guardian of Decency——二分图最大匹配
DescriptionFrank N. Stein is a very conservative high-school teacher. He wants to take some of his students on an excursion, but he is afraid that some of them might become couples. While you can neve...原创 2018-05-21 09:26:13 · 210 阅读 · 0 评论