摘要: 题目链接 https://codeforces.com/contest/981/problem/F 题意 $n$个新郎和$n$个新娘围成一个环,长度为$L$,第$i$个新郎位置为$a_i$,第$i$个新娘位置为$b_i$,需要将他们两两配对,最小化新郎和新娘距离的最大值。 思路 考虑二分答案。 二分 阅读全文
posted @ 2020-12-14 03:42 Carered 阅读(115) 评论(0) 推荐(0)