Sort 24 Discussions, By:
Please Login in order to post a comment
Trivial with python, just use that implies . And so the numbers are lower and we can sort and find in an array.
K is 1-indexed
Whats the meaning of this?
For those of you wondering why you got WA. Think about what might happen if you multiply a number 10^9 by another number > 1.
It looks that almost of all accepted solution fails one of these cases.
It is an easy problem not a medium