摘要: ##题面 戳我 ##思路 有蜥蜴连超级源点,可以出图的连超级汇点,不用说了,然后就是有高度的柱子裂点,边权为高度,然后可以互相跳的连边,跑dinic就好了。 ##代码实现 #include<cstdio> #include<algorithm> #include<vector> #include<q 阅读全文
posted @ 2020-08-22 23:14 Luglucky 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ##Problem A ###题面 We have a point A with coordinate x=n on OX-axis. We'd like to find an integer point B (also on OX-axis), such that the absolute dif 阅读全文
posted @ 2020-08-22 17:18 Luglucky 阅读(239) 评论(0) 推荐(0) 编辑