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 16, 2026 16:40Victor MerckléVictor MerckléScore: 2,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 16:412,21866,550,201169,598,0001,070,0002,170,880stderr
2Aug 16, 2026 16:412,21866,567,545169,857,0001,052,0002,170,880stderr
3Aug 16, 2026 16:412,24367,317,177170,806,0001,068,0002,170,880stderr
4Aug 16, 2026 16:412,25067,528,440171,349,0001,071,0002,170,880stderr
5Aug 16, 2026 16:412,26367,892,633171,519,0001,071,0002,170,880stderr
6Aug 16, 2026 16:412,26868,069,286171,289,0001,132,0002,170,880stderr
7Aug 16, 2026 16:412,27068,104,208170,885,0001,110,0002,170,880stderr
8Aug 16, 2026 16:412,27668,301,318169,730,0001,061,0002,170,880stderr
9Aug 16, 2026 16:412,28868,657,794170,580,0001,058,0002,170,880stderr