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 listJul 29, 2022 05:18Robert BurkeRobert BurkeScore: 15,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 05:1815,515536,558,713482,010,00030,000,0002,461,696
2Jul 29, 2022 05:1815,548546,568,423484,131,00028,948,0002,301,952
3Jul 29, 2022 05:1815,571541,490,727483,865,00029,991,0002,375,680
4Jul 29, 2022 05:1815,579542,035,931486,152,00027,951,0002,392,064
5Jul 29, 2022 05:1815,625544,391,361491,631,00023,982,0002,478,080
6Jul 29, 2022 05:1815,632537,330,049485,865,00029,991,0002,449,408
7Jul 29, 2022 05:1815,665584,550,283516,929,42502,244,608
8Jul 29, 2022 05:1815,699539,512,627489,132,00028,948,0002,461,696
9Jul 29, 2022 05:1815,713537,413,811490,541,00027,973,0002,273,280
10Jul 29, 2022 05:1815,784588,738,738520,880,86002,224,128
11Jul 29, 2022 05:1815,794544,036,493491,258,00029,954,0002,412,544
12Jul 29, 2022 05:1815,869580,883,340523,671,22602,232,320