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 7, 2024 16:41spacecat8086spacecat8086Score: 316,116Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 16:41314,29710,406,450,50910,326,835,00044,973,0002,416,640
2Nov 7, 2024 16:41314,34010,399,569,35910,338,247,00034,980,0002,371,584
3Nov 7, 2024 16:41315,77910,452,278,07010,379,743,00040,975,0002,433,024
4Nov 7, 2024 16:41315,81510,458,978,06610,386,932,00034,979,0002,338,816
5Nov 7, 2024 16:41316,11610,464,011,39510,393,863,00037,977,0002,363,392
6Nov 7, 2024 16:41316,90110,489,252,33510,410,757,00046,971,0002,359,296
7Nov 7, 2024 16:41318,49610,550,818,37810,471,391,00038,975,0002,433,024
8Nov 7, 2024 16:41318,81710,557,812,29310,479,004,00041,971,0002,437,120
9Nov 7, 2024 16:41319,00710,558,818,50710,486,253,00040,973,0002,285,568