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 22:23Victor MerckléVictor MerckléScore: 5,039Success
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 22:274,980149,407,973415,754,0001,205,0002,170,880stderr
2Aug 16, 2026 22:275,013150,397,357420,475,0001,207,0002,170,880stderr
3Aug 16, 2026 22:275,022150,686,034418,528,0001,228,0002,170,880stderr
4Aug 16, 2026 22:275,023150,705,502421,179,0001,231,0002,170,880stderr
5Aug 16, 2026 22:275,039151,193,706422,221,0001,274,0002,170,880stderr
6Aug 16, 2026 22:275,046151,392,673421,425,0001,234,0002,170,880stderr
7Aug 16, 2026 22:275,053151,597,510420,525,0001,245,0002,170,880stderr
8Aug 16, 2026 22:275,071152,149,986421,722,0001,245,0002,170,880stderr
9Aug 16, 2026 22:275,076152,295,341420,248,0001,246,0002,170,880stderr