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 24, 2024 12:25Alex KentAlex KentError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 16:14Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 16:29020,020,655,91520,003,110,0006,028,00016,384Killed by timeout
2Sep 24, 2024 12:2528,248960,665,361924,184,0007,992,0002,363,392
3Sep 24, 2024 12:2528,352959,996,819929,616,0005,997,0002,310,144
4Sep 24, 2024 12:2528,470961,515,463935,509,0003,997,0002,527,232
5Sep 24, 2024 12:2528,590966,537,659940,463,0002,998,0002,363,392
6Sep 24, 2024 12:2528,904976,925,556948,843,0004,999,0002,273,280
7Sep 24, 2024 12:2528,919982,079,410951,325,0002,997,0002,428,928
8Sep 24, 2024 12:2528,991978,283,007953,708,0002,999,0002,527,232
9Sep 24, 2024 12:2529,260994,130,363959,576,0005,997,0002,338,816
10Sep 24, 2024 12:2529,6631,006,748,435975,894,0002,999,0002,433,024