上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 45 下一页
摘要: 推荐博客 : https://blog.csdn.net/Whispers_zmf/article/details/80809609 http://www.cnblogs.com/Kv-Stalin/p/9443622.html HDU 2222 阅读全文
posted @ 2018-11-21 21:39 楼主好菜啊 阅读(225) 评论(0) 推荐(0) 编辑
摘要: "Oh, There is a bipartite graph.""Make it Fantastic." X wants to check whether a bipartite graph is a fantastic graph. He has two fantastic numbers, a 阅读全文
posted @ 2018-11-15 19:50 楼主好菜啊 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 题目描述这是一道模板题。n n n 个点,m m m 条边,每条边 e e e 有一个流量下界 lower(e) \text{lower}(e) lower(e) 和流量上界 upper(e) \text{upper}(e) upper(e),给定源点 s s s 与汇点 t t t,求源点到汇点的 阅读全文
posted @ 2018-11-14 17:54 楼主好菜啊 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Bob and Alice are often participating in various programming competitions. Like many competitive programmers, Alice and Bob have good and bad days. Th 阅读全文
posted @ 2018-11-12 17:52 楼主好菜啊 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 以下均来自百度百科 : 在数论中,裴蜀定理是一个关于最大公约数(或最大公约式)的定理。裴蜀定理得名于法国数学家艾蒂安·裴蜀,说明了对任何整数a、b和它们的最大公约数d,关于未知数x和y的线性丢番图方程(称为裴蜀等式): ax + by = m 有解当且仅当m是d的倍数。裴蜀等式有解时必然有无穷多个整 阅读全文
posted @ 2018-11-12 17:40 楼主好菜啊 阅读(676) 评论(1) 推荐(0) 编辑
摘要: 推荐论文 - http://www.docin.com/p-729740893.html 一 . 无源汇上下界网络流 因此,对于一条边u->v,我们在新图中连三条边: u->v cap=up−dow S->v cap=down u->T cap=down 然后对这个图求最大流即可 因为是无源汇图,因 阅读全文
posted @ 2018-11-10 16:14 楼主好菜啊 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 题目描述 这是一道模板题。 n n n 个点,m m m 条边,每条边 e e e 有一个流量下界 lower(e) \text{lower}(e) lower(e) 和流量上界 upper(e) \text{upper}(e) upper(e),求一种可行方案使得在所有点满足流量平衡条件的前提下, 阅读全文
posted @ 2018-11-10 16:10 楼主好菜啊 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/217/B来源:牛客网 题目描述 msc和mcc是一对好朋友,有一天他们得到了一个长度为n的字符串s. 这个字符串s十分妙,其中只有’m’,’s’和’c’三种字符。 定义s[i,j]表示s中从第i个到第j个字符按顺序拼接起 阅读全文
posted @ 2018-11-10 10:02 楼主好菜啊 阅读(663) 评论(0) 推荐(0) 编辑
摘要: Mirko works on a pig farm that consists of M locked pig-houses and Mirko can't unlock any pighouse because he doesn't have the keys. Customers come to 阅读全文
posted @ 2018-11-09 00:10 楼主好菜啊 阅读(180) 评论(0) 推荐(0) 编辑
摘要: FJ has moved his K (1 <= K <= 30) milking machines out into the cow pastures among the C (1 <= C <= 200) cows. A set of paths of various lengths runs 阅读全文
posted @ 2018-11-08 22:36 楼主好菜啊 阅读(338) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 45 下一页