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 listJun 16, 2025 21:08Aniruddha DebAniruddha DebScore: 59,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2025 21:0859,2821,986,991,9601,948,315,0007,997,0002,531,328
2Jun 16, 2025 21:0859,4341,987,684,2991,952,310,0008,996,0002,367,488
3Jun 16, 2025 21:0859,5841,990,206,0381,956,270,0009,996,0002,437,120