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 listMay 13, 2024 18:32Joad NacerJoad NacerScore: 14,044Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2024 18:3211,604453,402,677382,929,31002,232,320
2May 13, 2024 18:3211,660467,206,307384,770,87202,236,416
3May 13, 2024 18:3211,698469,507,400386,022,03202,363,392
4May 13, 2024 18:3213,284464,842,862359,477,00078,885,0002,433,024
5May 13, 2024 18:3213,420467,878,137363,887,00078,975,0002,428,928
6May 13, 2024 18:3214,040490,131,477392,436,00070,898,0002,519,040
7May 13, 2024 18:3214,044491,134,980391,543,00071,916,0002,306,048
8May 13, 2024 18:3214,139496,625,148388,661,00077,932,0002,408,448
9May 13, 2024 18:3214,403508,239,773389,418,00085,871,0002,437,120
10May 13, 2024 18:3214,627508,388,289405,751,00076,952,0002,359,296
11May 13, 2024 18:3214,834520,729,146407,611,00081,921,0002,437,120
12May 13, 2024 18:3215,011524,606,737419,456,00075,901,0002,424,832