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 listSep 4, 2024 14:22Yuriy LyfenkoYuriy LyfenkoScore: 32,619Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2024 14:2232,0201,081,165,8801,050,653,0005,992,0002,412,544
2Sep 4, 2024 14:2232,6191,100,793,4111,070,432,0005,991,0002,363,392
3Sep 4, 2024 14:2232,7661,108,611,1471,073,271,0007,994,0002,449,408