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 listAug 23, 2026 14:50Andrew EpsteinAndrew EpsteinScore: 108,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2026 14:52107,8003,234,008,8123,150,951,00069,720,0002,113,536
2Aug 23, 2026 14:52108,6413,259,246,0323,177,633,00068,807,0002,113,536
3Aug 23, 2026 14:52108,6703,260,119,1083,178,590,00068,864,0002,113,536
4Aug 23, 2026 14:52108,6953,260,853,8853,179,126,00069,120,0002,113,536
5Aug 23, 2026 14:52108,7633,262,903,9853,180,531,00069,552,0002,113,536
6Aug 23, 2026 14:52108,7733,263,218,6033,180,641,00069,511,0002,113,536
7Aug 23, 2026 14:52108,9033,267,111,1273,184,227,00069,431,0002,113,536
8Aug 23, 2026 14:52108,9043,267,143,0943,185,709,00068,767,0002,113,536
9Aug 23, 2026 14:52109,1593,274,776,2343,192,917,00069,140,0002,113,536