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 12, 2025 16:48Aniruddha DebAniruddha DebScore: 377,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2025 16:48376,51412,459,446,21512,325,042,00099,927,0002,392,064
2Jul 12, 2025 16:48377,74512,498,365,20612,362,639,000102,938,0002,342,912
3Jul 12, 2025 16:48379,94512,575,012,26812,429,255,000108,932,0002,486,272