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 listNov 6, 2024 17:37Dan StolyarovDan StolyarovScore: 473,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 17:37470,08415,549,271,92715,406,838,000105,937,0002,383,872
2Nov 6, 2024 17:37472,58415,628,463,48515,474,363,000120,924,0002,273,280
3Nov 6, 2024 17:37472,62715,637,175,71415,495,763,000100,939,0002,510,848
4Nov 6, 2024 17:37473,07915,651,407,21215,503,690,000107,928,0002,457,600
5Nov 6, 2024 17:37473,33715,661,624,13615,548,175,00071,954,0002,342,912
6Nov 6, 2024 17:37473,80515,670,062,94815,519,621,000115,929,0002,416,640
7Nov 6, 2024 17:37474,28215,691,083,54515,554,357,00096,939,0002,363,392
8Nov 6, 2024 17:37476,79715,774,295,13315,647,368,00086,946,0002,400,256
9Nov 6, 2024 17:37482,72015,964,950,41715,821,827,000107,930,0002,359,296