- 博客(3)
- 收藏
- 关注
原创 Island Transport
Island TransportIn the vast waters far far away, there are many islands. People are living on the islands, and all the transport among the islands relies on the ships. You have a transportation c...
2018-11-19 20:38:54 275
原创 Power Network
A power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amount s(u) >= 0 of power, may produce an amount 0...
2018-11-16 21:26:08 293
原创 对邻接表之菜鸟见解
邻接表比邻接矩阵快,占空间小,但是却没有邻接矩阵好理解,看完一个版本懵逼一个版本,这是最近刷网络流时又重新学了一遍,才知道自己是真的菜,这么简单的东西还搞了这么半天,哎。int next[maxn],cnt=0;struct node{ int u, v, w, next;} edge[maxn];void add_edge(int u, int v, int w)///三...
2018-11-14 21:00:03 172
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人