Educational Codeforces Round 64 (Rated for Div. 2)

比赛链接:https://codeforces.com/contest/1156 C 二分、贪心 题目链接:https://codeforces.com/contest/1156/problem/C 题面 image.png 题意 输入n,z和n个数x[1]~x[n]。 然后判断这n个数里有几对不相等的i, j。使得|x[i] - x[j]| >= z 思路 这个题贪心也能过,但我赛后补题是学习了
相关文章
相关标签/搜索