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 30, 2025 19:45Aman | अमनAman | अमनScore: 328,194Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 19:45325,38310,772,166,30710,641,692,00095,943,0002,265,088
2Dec 30, 2025 19:45325,77610,782,795,83110,662,665,00087,947,0002,428,928
3Dec 30, 2025 19:45326,95210,824,128,01610,681,469,000107,934,0002,502,656
4Dec 30, 2025 19:45327,58610,841,725,55410,702,394,000107,933,0002,338,816
5Dec 30, 2025 19:45328,19410,868,042,11510,735,472,00094,933,0002,506,752
6Dec 30, 2025 19:45329,04110,893,519,04010,758,417,00099,938,0002,322,432
7Dec 30, 2025 19:45329,06010,888,767,49910,780,036,00078,956,0002,379,776
8Dec 30, 2025 19:45330,10010,928,942,39010,797,345,00095,949,0002,494,464
9Dec 30, 2025 19:45332,67311,011,800,11110,885,251,00092,942,0002,351,104