摘要: URL映射 "CCF201803 3" include include include include include include include include include using namespace std; const int maxn=101; const int maxm=10 阅读全文
posted @ 2019-09-01 20:39 Garrett_Wale 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #管道清洁 ##201812-5 需要清洁的管道下界为1, 不需要清洁的管道下界为0, 可重复经过的管道上界为正无穷, 不可重复经过的管道上界为1。 这属于无源无汇的有容量下界的最小费用可行流。解决的方法就是首先增加一个源点和一个汇点,然后对每一条有下限的弧进行改造,改成容量下限为0,上限为c-b的 阅读全文
posted @ 2019-09-01 12:12 Garrett_Wale 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 元素选择器 "201809 3" 这里我只考虑了没有后代选择器的情况 include include include include include include using namespace std; string s[101]; int n,m; int main(){ cin n m; g 阅读全文
posted @ 2019-09-01 11:59 Garrett_Wale 阅读(224) 评论(0) 推荐(0) 编辑