python写算法-图论
文章平均质量分 69
python写算法-图论
AAA.Rascal
这个作者很懒,什么都没留下…
展开
-
python写算法-笑了
题如下,思路确实需要好好想想,结果只能说爷笑了。 1、题目 2、第一次提交,嫌弃代码短 3、然后注释上大佬的思路原创 2021-01-06 19:09:24 · 104 阅读 · 0 评论 -
python写算法-图论-topo拓扑排序-poj2367
python写算法-图论-topo拓扑排序 总之,使用深度搜索,思路5个字:搜到底,赋值。 这个大佬的想法。 1、poj2367 The system of Martians’ blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can have原创 2021-01-05 13:04:20 · 192 阅读 · 1 评论 -
python写算法-Network of Schools(POJ-1236)(强连通分量缩点)
A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools to which it distributes software (the “receiving schools”). Note that if B is in the distribution list of s原创 2021-01-04 19:15:31 · 181 阅读 · 0 评论