上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 45 下一页
摘要: Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but 阅读全文
posted @ 2017-11-09 18:56 楼主好菜啊 阅读(205) 评论(0) 推荐(0) 编辑
摘要: const int inf = 1que; for(int i = 1; i d[i]){ d[i] = edge[v][i]; que.push(node(i, d[i])); } } } } int main() { int t; int a, b, ... 阅读全文
posted @ 2017-11-09 09:13 楼主好菜啊 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whe 阅读全文
posted @ 2017-11-07 22:26 楼主好菜啊 阅读(623) 评论(0) 推荐(1) 编辑
摘要: While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path tha 阅读全文
posted @ 2017-11-05 09:58 楼主好菜啊 阅读(197) 评论(0) 推荐(0) 编辑
摘要: You are given two pots, having the volume of A and B liters respectively. The following operations can be performed: FILL(i) fill the pot i (1 ≤ i ≤ 2 阅读全文
posted @ 2017-11-04 11:43 楼主好菜啊 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 在 c++ 的 stl 库中有封装好的 优先队列 1. 2 . 3. 模板: 阅读全文
posted @ 2017-11-03 11:58 楼主好菜啊 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 先看两种对vector 的赋值方法 1 . 2 . 板子 : 阅读全文
posted @ 2017-11-02 23:39 楼主好菜啊 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 先看段代码: 在结构体中 阅读全文
posted @ 2017-11-02 21:47 楼主好菜啊 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Be 阅读全文
posted @ 2017-11-02 18:46 楼主好菜啊 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 所谓的二分图 : 就是指相同的部分没有边,那么这个图就是二分图。 注:以下转自 http://blog.csdn.net/dark_scope/article/details/8880547匈牙利算法是由匈牙利数学家Edmonds于1965年提出,因而得名。匈牙利算法是基于Hall定理中充分性证明的 阅读全文
posted @ 2017-10-31 09:24 楼主好菜啊 阅读(236) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 45 下一页