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 05:18Alex KentAlex KentScore: 64,485Success
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 05:1864,0192,140,725,8102,081,652,00030,979,0002,473,984
2Sep 22, 2024 05:1864,0962,140,090,7562,084,176,00030,987,0002,273,280
3Sep 22, 2024 05:1864,2482,149,240,8392,093,182,00026,989,0002,478,080
4Sep 22, 2024 05:1864,2772,146,812,4222,090,182,00030,973,0002,269,184
5Sep 22, 2024 05:1864,4852,154,820,8952,098,042,00029,972,0002,273,280
6Sep 22, 2024 05:1864,4962,161,833,3892,100,361,00027,991,0002,273,280
7Sep 22, 2024 05:1864,5132,154,609,5012,102,942,00025,986,0002,269,184
8Sep 22, 2024 05:1864,5802,159,074,2672,097,165,00033,986,0002,273,280
9Sep 22, 2024 05:1864,6392,156,431,0342,098,104,00034,985,0002,273,280