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:46Aman | अमनAman | अमनScore: 326,868Success
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:46324,91610,753,695,18510,642,288,00079,949,0002,306,048
2Dec 30, 2025 19:46325,40510,773,536,62010,645,407,00092,942,0002,375,680
3Dec 30, 2025 19:46326,25010,802,463,40910,670,303,00095,939,0002,297,856
4Dec 30, 2025 19:46326,82110,816,831,18010,701,144,00083,954,0002,351,104
5Dec 30, 2025 19:46326,86810,830,225,36610,696,701,00089,947,0002,519,040
6Dec 30, 2025 19:46327,71910,845,647,85810,721,796,00092,937,0002,355,200
7Dec 30, 2025 19:46328,76810,881,256,53310,767,391,00081,949,0002,453,504
8Dec 30, 2025 19:46328,84510,886,444,94510,772,925,00078,955,0002,461,696
9Dec 30, 2025 19:46334,03211,062,238,79610,925,134,00097,938,0002,469,888