Sort UUIDs Mikhail Shirokov

Sort 18,000,000 UUIDs as fast as possible.

Input

One UUID per line on STDIN in standard format:

01c39d6f-a905-41b5-b960-55f5be445bf8
790455cb-9813-4298-87ec-9ede1dc38e10
8ff38a09-f995-467b-9d07-5536f621402e
...

Output

All UUIDs sorted in ascending lexicographic order, one per line, to STDOUT.

Back to listOct 4, 2026 06:43Karthik ReddyKarthik ReddyError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 4, 2026 06:4406,325,097,306192,843,00020,808,00016,384line 0: expected 10000019-d397-411f-bdfe-9532f8a57d35 got 0:0/411 a:0/674 reg:311c/kB nt:172c/kB l1nt:237c/kB l1rep:279c/kB l1reg:282c/kB reg:314c/kB 119674/12414 nt:172c/kB 13009/1747 l1nt:237c/kB 17781/1799 l1rep:279c/kB 20958/1874 l1reg:283c/kB 2114...
2Oct 4, 2026 06:4406,366,935,037194,725,00020,656,00016,384line 0: expected 100001e0-dee9-48da-871e-6f7d07e919ca got 0:0/415 a:0/712 reg:310c/kB nt:172c/kB l1nt:237c/kB l1rep:285c/kB l1reg:289c/kB reg:319c/kB 120469/12570 nt:172c/kB 12878/1791 l1nt:237c/kB 17742/1742 l1rep:286c/kB 21375/1912 l1reg:290c/kB 2169...
3Oct 4, 2026 06:4407,189,200,367192,215,00021,830,00016,384line 0: expected 10000000-e54b-4996-8695-2b58fe321420 got 0:0/410 a:0/775 reg:315c/kB nt:172c/kB l1nt:237c/kB l1rep:281c/kB l1reg:284c/kB reg:319c/kB 120242/12414 nt:172c/kB 12890/1786 l1nt:238c/kB 17816/2705 l1rep:267c/kB 19960/1870 l1reg:283c/kB 2118...