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:41Aman | अमनAman | अमनScore: 336,883Success
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:41333,68311,044,832,37310,916,592,00094,944,0002,396,160
2Dec 30, 2025 19:41335,82011,115,258,98310,994,105,00087,944,0002,342,912
3Dec 30, 2025 19:41336,00611,127,269,45210,994,263,00093,942,0002,490,368
4Dec 30, 2025 19:41336,28111,130,028,62610,989,328,000107,934,0002,449,408
5Dec 30, 2025 19:41336,88311,152,834,71811,017,186,00099,938,0002,379,776
6Dec 30, 2025 19:41337,31011,167,473,47311,024,292,000106,934,0002,326,528
7Dec 30, 2025 19:41337,64911,175,703,77311,046,481,00095,934,0002,473,984
8Dec 30, 2025 19:41339,14411,223,940,91811,100,820,00090,941,0002,437,120
9Dec 30, 2025 19:41340,96711,285,670,05711,155,979,00095,939,0002,486,272