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 listMar 8, 2024 08:42Huy Duc LeHuy Duc LeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2024 08:4200000Error: Exit with code 1: fsize = 666000000 A cost = 218.534 B cost = 227.981 main.cpp:199:35: runtime error: signed integer overflow: 3000000 * 3000000 cannot be represented in type 'int' ================================================================...stderr