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 22, 2024 04:41Alex KentAlex KentScore: 66,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2024 04:4166,3342,218,076,5502,155,026,00033,984,0002,273,280
2Sep 22, 2024 04:4166,4712,220,308,6232,155,580,00037,974,0002,445,312
3Sep 22, 2024 04:4166,6182,228,937,5572,160,417,00037,989,0002,301,952
4Sep 22, 2024 04:4166,6442,228,582,6192,155,295,00043,965,0002,273,280
5Sep 22, 2024 04:4166,6542,229,438,2452,160,592,00038,974,0002,461,696
6Sep 22, 2024 04:4166,7392,227,925,3782,161,429,00040,970,0002,519,040
7Sep 22, 2024 04:4166,7622,227,229,0862,165,166,00037,967,0002,441,216
8Sep 22, 2024 04:4166,8932,235,060,3192,166,509,00040,971,0002,441,216
9Sep 22, 2024 04:4166,9422,236,208,7322,174,106,00034,985,0002,273,280