List Minimum (Harder)

View as PDF

Submit solution


Points: 7
Time limit: 2.0s
Memory limit: 64M
Author:

Problem type

After sorting numbers all day, perhaps you would like to sort strings instead! Such a wish is easily granted, perhaps because His Imperial Majesty, the Dark Lord and Paramount Leader of Dmojistan feels like granting wishes today!

This is such a trivial task, of course, perhaps you are wondering if there is a catch. Why should His Imperial Majesty, the Dark Lord and Paramount Leader of Dmojistan tell you? Perhaps because My Dark Master the Lord quantum feels like granting wishes? Well, My Dark Master the Lord quantum is only quite willing to grant you one wish, perhaps. Well, not perhaps, for it is a fact.

Perhaps you are questioning My Dark Master the Lord quantum's power? Well, perhaps disaster awaits you. Good luck, perhaps. 😆😛

Sample Input

2
abce
abcd

Sample Output

abcd
abce

Comments


  • 4
    StirFry  commented on May 10, 2018, 11:09 a.m.

    Perhaps I'm not skilled enough to solve this... perhaps... :(


  • 0
    Roronoa_Zoro1540  commented on April 21, 2018, 12:27 p.m.

    Perhaps


  • -6
    med_reda_glioula  commented on April 6, 2018, 2:53 p.m.

    what s wrong with my prog plllz


  • 2
    crackersamdjam  commented on April 1, 2018, 3:44 p.m.

    Clarification please?


    • 8
      zscoder  commented on April 1, 2018, 12:57 a.m. edit 2

      Wish to Dark Master the Lord quantum : What is the correct solution to the problem?


      • 2
        quantum  commented on April 1, 2018, 6:18 p.m.

        Perhaps the problem statement contains enough hints... perhaps...


      • 2
        BigBoy  commented on April 1, 2018, 12:50 a.m.

        I dont understand