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 listFeb 23, 2025 17:33Aniruddha DebAniruddha DebScore: 145,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2025 17:33145,1444,822,970,3404,771,771,00017,984,0002,383,872
2Feb 23, 2025 17:33145,1854,821,975,7024,786,119,0004,995,0002,510,848
3Feb 23, 2025 17:33145,3544,822,337,1954,788,696,0007,992,0002,486,272
4Feb 23, 2025 17:33145,5104,833,086,9194,792,842,0008,992,0002,379,776
5Feb 23, 2025 17:33145,8204,838,688,3804,798,057,00013,988,0002,355,200
6Feb 23, 2025 17:33146,0284,855,807,1104,810,936,0007,994,0002,465,792
7Feb 23, 2025 17:33146,1644,852,664,0294,816,431,0006,994,0002,428,928
8Feb 23, 2025 17:33146,2864,857,780,4624,820,437,0006,994,0002,326,528
9Feb 23, 2025 17:33147,1524,883,726,6004,847,009,0008,992,0002,441,216