摘要: CodeForces - 752Bhttps://vjudge.net/problem/597648/origin简单模拟,主要是细节特殊情况多考虑一下,看代码就行 阅读全文
posted @ 2019-07-19 19:52 WeiAR 阅读(163) 评论(0) 推荐(0) 编辑
摘要: CodeForces - 1087Dhttps://vjudge.net/problem/2115151/origin2*和/叶子结点的个数 阅读全文
posted @ 2019-07-19 19:22 WeiAR 阅读(137) 评论(0) 推荐(0) 编辑
摘要: AtCoder - 3959https://vjudge.net/problem/1583855/origin求最长连续递增长度就行,答案是n-max(len) 阅读全文
posted @ 2019-07-19 19:13 WeiAR 阅读(80) 评论(0) 推荐(0) 编辑
摘要: poj2135根本想不到系列求1到n,和n到1的最短路,但是不能重复走。超级源点连到1,流量为2,费用为0;n连到超级汇点,流量为2,费用为0。其他的流量为1,费用为边的长度。(图中为双向边 阅读全文
posted @ 2019-07-19 10:17 WeiAR 阅读(196) 评论(0) 推荐(0) 编辑