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 listSep 1, 2026 04:36Victor MerckléVictor MerckléScore: 4,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 04:384,332129,984,380352,528,0003,314,0002,330,624stderr
2Sep 1, 2026 04:384,351130,551,782352,196,0004,497,0002,281,472stderr
3Sep 1, 2026 04:384,355130,651,861353,181,0004,312,0002,330,624stderr
4Sep 1, 2026 04:384,361130,844,222352,407,0005,449,0002,469,888stderr
5Sep 1, 2026 04:384,364130,935,313354,321,0004,178,0002,531,328stderr
6Sep 1, 2026 04:384,376131,306,009357,066,0003,145,0002,592,768stderr
7Sep 1, 2026 04:384,382131,489,205353,198,0004,185,0002,486,272stderr
8Sep 1, 2026 04:384,384131,545,471356,214,0004,206,0002,326,528stderr
9Sep 1, 2026 04:384,396131,888,173356,457,0004,207,0002,531,328stderr