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 13, 2024 12:38matsuoka-601matsuoka-601Score: 7,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 13, 2024 12:387,037295,218,443232,221,09902,310,144
2Feb 13, 2024 12:387,040306,530,263232,328,07402,179,072
3Feb 13, 2024 12:387,052302,694,355232,716,05302,179,072
4Feb 13, 2024 12:387,088259,382,185215,908,00017,992,0002,392,064
5Feb 13, 2024 12:387,088262,252,987207,929,00025,991,0002,359,296
6Feb 13, 2024 12:387,097260,114,735219,185,00015,012,0002,306,048
7Feb 13, 2024 12:387,102259,243,177211,327,00023,035,0002,342,912
8Feb 13, 2024 12:387,106258,402,768213,542,00020,955,0002,392,064
9Feb 13, 2024 12:387,115257,348,928216,813,00017,984,0002,289,664
10Feb 13, 2024 12:387,116257,924,868214,828,00019,984,0002,433,024
11Feb 13, 2024 12:387,122265,170,797217,033,00018,002,0002,347,008
12Feb 13, 2024 12:387,125256,919,477212,118,00023,012,0002,379,776