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 listDec 20, 2025 15:15Rajarshi BasuRajarshi BasuScore: 5,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 14:555,048197,282,043158,605,0007,980,0002,371,584
2Dec 20, 2025 15:155,054188,760,706159,807,0006,991,0002,330,624
3Dec 20, 2025 15:155,064188,937,790161,116,0006,004,0002,527,232
4Dec 20, 2025 14:555,080195,572,483161,669,0005,987,0002,527,232
5Dec 20, 2025 15:155,089190,164,293160,930,0006,996,0002,277,376
6Dec 20, 2025 15:155,092198,878,088164,050,0004,001,0002,461,696
7Dec 20, 2025 15:155,098193,541,114163,237,0005,007,0002,310,144
8Dec 20, 2025 14:555,116189,299,654162,842,0005,994,0002,523,136
9Dec 20, 2025 15:155,132197,140,975166,352,0003,006,0002,510,848
10Dec 20, 2025 15:155,258199,565,934167,521,0005,982,0002,387,968
11Dec 20, 2025 15:155,269195,283,625168,885,0004,996,0002,523,136
12Dec 20, 2025 15:155,713214,226,150185,527,0002,992,0002,408,448