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 19, 2025 10:03SherzodSherzodScore: 149,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2025 10:03148,6884,935,910,8754,833,735,00072,965,0002,342,912
2Jun 19, 2025 10:03149,0084,954,279,9104,819,305,00097,945,0002,523,136
3Jun 19, 2025 10:03149,0194,946,193,7734,834,651,00082,976,0002,326,528
4Jun 19, 2025 10:03149,0564,954,871,1904,843,883,00074,967,0002,326,528
5Jun 19, 2025 10:03149,6384,966,520,9104,861,109,00076,954,0002,326,528
6Jun 19, 2025 10:03149,6604,974,311,1444,851,827,00086,943,0002,326,528
7Jun 19, 2025 10:03149,8334,973,448,3114,871,522,00072,962,0002,326,528
8Jun 19, 2025 10:03150,1284,984,405,2614,868,271,00085,951,0002,371,584
9Jun 19, 2025 10:03164,2715,463,066,6225,336,043,00084,889,0002,326,528