上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 97 下一页
摘要: 【概述】 pair 是定义在 头文件中的一个简单的模板类,常用于表示一个二元组或元素对,且其提供了按照字典序对元素对进行大小比较的比较运算符模版函数。 定义: pair pairName 参数:T1 是第一个值的数据类型,T2 是第二个值的数据类型。 【构造... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(264) 评论(0) 推荐(0)
摘要: 终于考完试了,能够好好看看算法了 前几天抽空把最小树形图补了补,把朱刘算法的模板整理了一下,做了两道题。 这两天整理了整理网络流的模板,只弄好了 EK 算法和 Dinic 算法以及求最小割的模板,ISAP 理解的还是不透彻,需要再好好看看,最小费用最大流毫无头... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(17) 评论(0) 推荐(0)
摘要: Problem Description After a long lasting war on words, a war on arms finally breaks out between littleken’s and KnuthOcean’s ki... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(31) 评论(0) 推荐(0)
摘要: 2-SAT 结束了,这两天看了看差分约束系统,原理不难,关键是建图 这两天把差分约束系统的题做一做,下周开始网络流的内容 ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(12) 评论(0) 推荐(0)
摘要: Problem Description During the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brought ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(98) 评论(0) 推荐(0)
摘要: 【概述】 如果一个系统由 n 个变量 m 个约束条件组成,形成 m 个形如 的不等式,其中 ,k 是常数,则称这 m 个不等式为差分约束系统(system of difference constraints),亦即,差分约束系统是求解关于一组变量的特殊不等式... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(166) 评论(0) 推荐(0)
摘要: Problem Description Here is a procedure's pseudocode: go(int dep, int n, int m) begin output the value of dep. if dep #include... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(41) 评论(0) 推荐(0)
摘要: Problem Description Farmer John's farm has N barns, and there are some cows that live in each barn. The cows like to drop aroun... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(26) 评论(0) 推荐(0)
摘要: 前几天准备 4 级一直没怎么看,考完了又去新生赛帮忙,2-SAT 基本弄完了,但跟二分结合的题还没刷,周三前刷出来。 ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(9) 评论(0) 推荐(0)
摘要: Problem Description John is the only priest in his town. September 1st is the John's busiest day in a year because there is an ... 阅读全文
posted @ 2022-09-20 23:00 老程序员111 阅读(0) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 97 下一页