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:52Franek KortaFranek KortaScore: 16,553Success
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:5216,462568,001,034513,245,00030,014,0002,457,600
2Dec 17, 2022 22:5216,506568,807,892518,726,00025,986,0002,379,776
3Dec 17, 2022 22:5216,508567,669,179513,765,00030,985,0002,301,952
4Dec 17, 2022 22:5216,510571,908,980514,845,00029,990,0002,293,760
5Dec 17, 2022 22:5216,540570,894,411514,816,00030,988,0002,527,232
6Dec 17, 2022 22:5216,551572,462,056516,218,00029,954,0002,297,856
7Dec 17, 2022 22:5216,553569,607,121516,298,00029,959,0002,375,680
8Dec 17, 2022 22:5216,562571,542,564516,580,00029,975,0002,289,664
9Dec 17, 2022 22:5216,567569,883,156520,736,00025,986,0002,510,848
10Dec 17, 2022 22:5217,354646,902,810572,679,00902,211,840
11Dec 17, 2022 22:5217,369633,905,120573,187,49902,207,744
12Dec 17, 2022 22:5217,391626,836,550573,887,04702,203,648