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 listSep 12, 2024 10:18asssasssScore: 326,921Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2024 10:18324,25910,741,096,07810,597,614,000102,937,0002,355,200
2Sep 12, 2024 10:18324,78310,753,262,73610,607,912,000109,936,0002,453,504
3Sep 12, 2024 10:18325,04110,759,958,38710,616,423,000109,931,0002,473,984
4Sep 12, 2024 10:18326,44110,809,295,46910,681,610,00090,945,0002,506,752
5Sep 12, 2024 10:18326,92110,824,586,41310,691,461,00096,940,0002,326,528
6Sep 12, 2024 10:18327,15210,825,434,78610,705,063,00090,949,0002,502,656
7Sep 12, 2024 10:18327,18310,828,485,36510,697,106,00099,944,0002,473,984
8Sep 12, 2024 10:18327,42110,841,120,90510,706,950,00097,935,0002,297,856
9Sep 12, 2024 10:18327,70210,854,748,02610,708,232,000105,933,0002,277,376