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 18, 2026 01:55Victor MerckléVictor MerckléScore: 2,710Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2026 01:562,68580,567,490209,956,0001,087,0002,170,880stderr
2Aug 18, 2026 01:562,69280,772,105211,133,0001,032,0002,170,880stderr
3Aug 18, 2026 01:562,69680,906,941212,183,0001,206,0002,170,880stderr
4Aug 18, 2026 01:562,69780,930,878211,370,0002,024,0002,170,880stderr
5Aug 18, 2026 01:562,71081,315,808211,911,0001,012,0002,170,880stderr
6Aug 18, 2026 01:562,71281,369,797211,360,0001,019,0002,170,880stderr
7Aug 18, 2026 01:562,71781,534,057211,713,0001,006,0002,170,880stderr
8Aug 18, 2026 01:562,72381,714,435214,675,0001,279,0002,170,880stderr
9Aug 18, 2026 01:563,486104,605,737241,642,0002,066,0002,170,880stderr