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 listDec 17, 2022 22:54Franek KortaFranek KortaError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 22:5100000Error: No answer to stdout. Died or killed?stderr
2Dec 17, 2022 22:5416,496573,785,958511,394,00032,960,0002,297,856
3Dec 17, 2022 22:5416,499571,773,493519,505,00024,976,0002,473,984
4Dec 17, 2022 22:5416,502565,559,707515,575,00028,976,0002,289,664
5Dec 17, 2022 22:5416,521568,992,167517,228,00027,958,0002,527,232
6Dec 17, 2022 22:5416,523571,638,405511,242,00034,016,0002,289,664
7Dec 17, 2022 22:5416,537569,865,250518,721,00026,985,0002,457,600
8Dec 17, 2022 22:5416,545577,815,919514,047,00031,940,0002,383,872
9Dec 17, 2022 22:5416,549572,520,067514,106,00032,006,0002,314,240
10Dec 17, 2022 22:5416,552572,024,068512,267,00033,951,0002,465,792
11Dec 17, 2022 22:5417,332643,884,204571,963,35802,203,648
12Dec 17, 2022 22:5417,365635,605,450573,032,25202,211,840
13Dec 17, 2022 22:5417,392635,675,117573,920,49702,215,936