![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
最短路
Cymbals
Public void effect()
展开
-
POJ - 1125 Stockbroker Grapevine(Java)
Stockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge in the stock m...原创 2018-03-15 13:40:28 · 320 阅读 · 0 评论 -
spfa模板(链式前向星,bfs,判环)
说起来我该印一份自己的模板了。 public class Main { static Set<Integer> visited = new HashSet<>(); static Edge[] edges = new Edge[1005]; static int[] head = new int[1005]; static int[] di...原创 2018-04-03 16:46:53 · 301 阅读 · 0 评论