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 listJun 16, 2024 17:23matsuoka-601matsuoka-601Score: 8,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 17:238,135292,524,853249,497,00018,961,0002,449,408
2Jun 16, 2024 17:238,185297,784,734254,113,00016,007,0002,310,144
3Jun 16, 2024 17:238,192299,514,352252,372,00017,955,0002,392,064
4Jun 16, 2024 17:238,264295,595,218253,743,00018,980,0002,400,256
5Jun 16, 2024 17:238,302303,354,924258,955,00014,997,0002,310,144
6Jun 16, 2024 17:238,304297,730,809251,025,00023,002,0002,306,048
7Jun 16, 2024 17:238,336303,137,260255,085,00020,006,0002,457,600
8Jun 16, 2024 17:238,344307,830,201255,399,00019,953,0002,310,144
9Jun 16, 2024 17:238,511304,815,376259,879,00020,990,0002,318,336
10Jun 16, 2024 17:238,525353,583,531281,319,63702,236,416
11Jun 16, 2024 17:238,566353,392,156282,679,58002,240,512
12Jun 16, 2024 17:238,604347,851,411283,943,51802,240,512