Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listOct 31, 2026 07:48Andrew EpsteinAndrew EpsteinScore: 123,852Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 07:54123,2423,697,275,9754,108,618,00039,869,0002,326,528stderr
2Oct 31, 2026 07:54123,3993,701,974,0224,114,847,00041,163,0002,326,528stderr
3Oct 31, 2026 07:54123,7333,712,019,2454,131,457,00043,878,0002,318,336stderr
4Oct 31, 2026 07:54123,7703,713,125,6074,129,686,00041,780,0002,326,528stderr
5Oct 31, 2026 07:54123,8523,715,581,4194,128,001,00041,813,0002,326,528stderr
6Oct 31, 2026 07:54124,0543,721,634,9624,126,928,00045,638,0002,236,416stderr
7Oct 31, 2026 07:54124,5563,736,700,2394,150,628,00040,773,0002,314,240stderr
8Oct 31, 2026 07:54125,8553,775,650,2384,185,455,00044,796,0002,326,528stderr
9Oct 31, 2026 07:54130,9513,928,552,4834,338,095,00043,544,0002,314,240stderr