help in following question

Правка en1, от royalknight2010, 2023-06-13 09:15:33

You are given an array A of N integers and another integer K. You can swap any two adjacent elements of A at most K times. Find the largest lexicographical array you can get. N and K in order of 10^6

Теги help, top coder, helper

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский royalknight2010 2023-06-13 09:15:33 227 Initial revision (published)