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 3, 2026 22:42Karthik 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 3, 2026 22:4304,264,774,227231,105,00027,291,00032,768line 0: expected 00000000-2fc7-4f88-8dfb-3ccac94c9e21 got 50/0/46 94562/79058/15506 163105/151180/11925 |646 2385 421 456 122 173 |stderr
2Oct 3, 2026 22:4308,353,999,870230,319,00028,000,00032,768line 0: expected 10000084-f156-46c1-98bb-9a04bdbb6410 got 50/0/46 94024/78782/15243 163562/151512/12051 |647 2387 423 458 121 173 |stderr
3Oct 3, 2026 22:43010,711,464,121239,811,00032,005,00032,768line 0: expected 10000229-7227-4ff3-87fc-e396bc516f46 got 49/0/45 99051/80686/18367 172050/158918/13131 |701 2489 452 459 121 176 |stderr