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 21:04Karthik 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 21:0501,541,677,2151,028,992,000177,838,000265,572,352line 0: expected 10000068-41a2-49ce-9be2-a25ae842bc3a got 0:1200013 1:15 2:19 3:12 4:17 5:19 6:4064 7:1054156 9:1199431 10:19 11:4101 12:1057316 14:270000000 15:13 16:10 17:16 19:54000024 20:18 21:13 22:14 24:1200020 25:15 26:14 27:29 28:21 29:30 30:39...
2Oct 3, 2026 21:0501,545,832,5001,028,641,000176,817,000265,572,352line 0: expected 10000068-e4b0-48a9-97be-af9338af6d0e got 0:1200012 1:17 2:8 3:9 4:11 5:42 6:4057 7:1054098 9:1199462 10:33 11:4077 12:1057620 14:270000000 15:24 16:14 17:17 19:54000013 20:11 21:17 22:6 24:1200009 25:13 26:9 27:9 28:10 29:31 30:3889 31...
3Oct 3, 2026 21:0501,539,457,2891,028,660,000183,034,000265,572,352line 0: expected 1000003f-4263-4339-aa5f-e4696635e483 got 0:1200014 1:13 2:13 3:19 4:12 5:43 6:4393 7:1056985 9:1199441 10:53 11:4112 12:1051048 14:270000000 15:17 16:12 17:12 19:54000010 20:16 21:12 22:11 24:1200033 25:15 26:22 27:20 28:19 29:41 30:40...