
图论
文章平均质量分 84
Neiloz
...
展开
-
Currency Exchange POJ - 1860(前向星存图+spfa+判断负环)
Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and performs exchange operations only with these currencies. There can原创 2017-11-02 22:16:28 · 383 阅读 · 0 评论 -
Candies POJ - 3159(差束约分理解 spfa+stack速度比queue+spfa 快)
During the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brought the kids of flymouse’s class a large bag of candies and had flymouse distribute them. All the原创 2017-11-06 20:45:41 · 426 阅读 · 1 评论