April Fools' Day Contest 2 P3 - Fast Code Only!
View as PDFWilliam is a very strict project manager. In fact, he is so strict that he only approves PRs for code that runs blazingly fast.
One day, you are tasked with a strikingly difficult problem: sorting a list of integers!
Can you submit a PR that fulfills William's criteria?
Input Specification
The first line will contain a single integer , the number of elements in the list.
The second line will contain space-seperated integers
, each integer in the range
.
Output Specification
On the first line, output any solution to the problem that William will accept.
If there are multiple solutions, output any.
Sample Input
5
5 2 3 4 2
Sample Output
1 2 2 3 4
Explanation for Sample
This is one of the possible solutions that will get accepted by William.
Comments
HELP ME
They never said it had to be correct! Thus you can jst submit anything that is fast enough e.g an empty c++ code.
P.S. I dont recommend commenting so much. d just muted 3 ppl a couple days ago XD.
Also theres an editorial.