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 listJul 20, 2025 10:47Aniruddha DebAniruddha DebScore: 45,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2025 10:4744,9471,509,344,4231,459,276,00023,971,0002,461,696
2Jul 20, 2025 10:4745,2821,521,712,6261,473,333,00020,962,0002,535,424
3Jul 20, 2025 10:4745,5981,529,382,1441,482,787,00021,952,0002,297,856