摘要:
有上下界的费用流 C++ include include include include // begin{最小费用最大流} struct edge {int from, to, cap, flow, cost, next;}; const int MAXN = 50 + 7; const int 阅读全文
摘要:
kuangbin 的模板 求最长公共子串长度 求字典序最小循环移位(可用最小表示法) 依次输出长度为 i (from 1 to |s|) 的所有子串中出现的最多次数 上面代码中 MAXN = 250000+7 时返回 WA ~~~~(>_<)~~~~ 字典序第 K 小子串 <2017-08-09 W 阅读全文