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 listJan 10, 2025 22:39Ian MckibbenIan MckibbenScore: 130,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2025 22:39129,0834,287,460,0614,240,739,00018,989,0002,428,928
2Jan 10, 2025 22:39129,5964,312,424,6494,257,695,00018,989,0002,371,584
3Jan 10, 2025 22:39129,7304,312,324,5414,263,110,00017,987,0002,363,392
4Jan 10, 2025 22:39129,8634,317,418,4634,268,490,00016,993,0002,482,176
5Jan 10, 2025 22:39130,1654,326,368,3624,272,470,00022,986,0002,355,200
6Jan 10, 2025 22:39131,3454,366,901,7644,317,385,00016,989,0002,400,256
7Jan 10, 2025 22:39131,5624,372,133,0904,323,548,00017,989,0002,510,848
8Jan 10, 2025 22:39132,2244,398,457,0524,351,389,00011,992,0002,371,584
9Jan 10, 2025 22:39133,0564,419,323,6844,375,857,00014,989,0002,310,144