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 30, 2024 14:35Robert BurkeRobert BurkeScore: 7,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 14:356,605270,035,009217,952,73002,265,088
2Jun 30, 2024 14:356,703277,772,195221,209,56602,273,280
3Jun 30, 2024 14:356,714288,524,289221,574,31402,269,184
4Jun 30, 2024 14:357,076259,876,995228,535,0004,989,0002,326,528
5Jun 30, 2024 14:357,122258,062,860230,038,0005,000,0002,371,584
6Jun 30, 2024 14:357,123260,565,547229,072,0006,001,0002,371,584
7Jun 30, 2024 14:357,126261,375,986232,144,0003,001,0002,285,568
8Jun 30, 2024 14:357,132263,010,473231,362,0004,006,0002,338,816
9Jun 30, 2024 14:357,168261,986,526233,545,0002,994,0002,457,600
10Jun 30, 2024 14:357,168258,037,496230,561,0005,988,0002,457,600
11Jun 30, 2024 14:357,202261,946,561232,665,0004,992,0002,371,584
12Jun 30, 2024 14:357,212267,074,988234,009,0004,000,0002,539,520