Educational Codeforces Round 99 (Rated for Div. 2)D. Sequence and Swaps(贪心)
D. Sequence and Swaps
time limit per test1.5 seconds
memory limit per test512 megabytes
inputstandard input
outputstandard output
You are given a sequence a consisting of n integers a1,a2,…,an, and an integer x. Your task is to make the sequence a sorted (
原创
2020-12-04 14:53:48 ·
165 阅读 ·
0 评论