Unique strings Sergey Svistunov

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 listFeb 22, 2026 19:40SneedSneedScore: 97,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 19:4097,2303,236,197,0723,156,619,00051,977,0002,285,568
2Feb 22, 2026 19:4097,2433,243,432,7383,152,062,00056,964,0002,392,064
3Feb 22, 2026 19:4097,3053,239,575,1553,167,096,00043,973,0002,289,664
4Feb 22, 2026 19:4097,3333,244,760,4323,170,007,00041,973,0002,334,720
5Feb 22, 2026 19:4097,4143,242,600,3383,168,686,00045,980,0002,482,176
6Feb 22, 2026 19:4097,5613,252,391,9383,164,525,00054,974,0002,449,408
7Feb 22, 2026 19:4097,7723,258,085,7853,172,507,00053,974,0002,285,568
8Feb 22, 2026 19:4098,6043,284,458,8303,192,985,00060,961,0002,486,272
9Feb 22, 2026 19:4099,8393,329,165,0023,247,702,00046,981,0002,482,176