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 KentScore: 28,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 24, 2024 12:2528,248960,665,361924,184,0007,992,0002,363,392
2Sep 24, 2024 12:2528,352959,996,819929,616,0005,997,0002,310,144
3Sep 24, 2024 12:2528,470961,515,463935,509,0003,997,0002,527,232
4Sep 24, 2024 12:2528,590966,537,659940,463,0002,998,0002,363,392
5Sep 24, 2024 12:2528,904976,925,556948,843,0004,999,0002,273,280
6Sep 24, 2024 12:2528,919982,079,410951,325,0002,997,0002,428,928
7Sep 24, 2024 12:2528,991978,283,007953,708,0002,999,0002,527,232
8Sep 24, 2024 12:2529,260994,130,363959,576,0005,997,0002,338,816
9Sep 24, 2024 12:2529,6631,006,748,435975,894,0002,999,0002,433,024