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 11:54Karthik 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 11:5503,716,722,248122,611,00019,862,00020,480line 0: expected 100000a0-2689-4656-b7fa-9804e3109596 got 0:0/405 a:0/535 pf0:812c/100lines 40905/6455 pf1:812c/100lines 40987/6298 pf2:802c/100lines 40622/6156 1
2Oct 4, 2026 11:5503,698,900,625122,145,00019,601,00020,480line 0: expected 10000263-7cb6-4c9e-98b4-9d5bc987e900 got 0:0/409 a:0/618 pf0:812c/100lines 40870/6129 pf1:813c/100lines 40686/6320 pf2:805c/100lines 40488/6111 0
3Oct 4, 2026 11:5503,699,755,305122,506,00019,660,00020,480line 0: expected 10000051-1a91-43b5-99e3-d8958f86ff04 got 0:0/416 a:0/620 pf0:814c/100lines 40993/6153 pf1:816c/100lines 40883/6250 pf2:807c/100lines 40516/6205 0