Educational Codeforces Round 99 (Rated for Div. 2)D. Sequence and Swaps(贪心)
D. Sequence and Swapstime limit per test1.5 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputYou 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 ·
193 阅读 ·
0 评论