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 20, 2023 06:51matsuoka-601matsuoka-601Score: 10,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2023 06:5110,394404,806,741342,993,50202,297,856
2Jun 20, 2023 06:5110,445371,052,434339,689,0004,995,0002,527,232
3Jun 20, 2023 06:5110,475373,589,388341,666,0003,996,0002,375,680
4Jun 20, 2023 06:5110,481371,660,690339,882,0005,997,0002,371,584
5Jun 20, 2023 06:5110,490372,874,213341,173,0004,987,0002,273,280
6Jun 20, 2023 06:5110,507375,088,814342,741,0003,996,0002,322,432
7Jun 20, 2023 06:5110,539372,921,090342,776,0004,996,0002,326,528
8Jun 20, 2023 06:5110,551410,133,438348,187,27502,179,072
9Jun 20, 2023 06:5110,563376,250,048342,580,0005,992,0002,502,656
10Jun 20, 2023 06:5110,568409,402,973348,736,09802,174,976
11Jun 20, 2023 06:5110,595381,163,722345,624,0003,995,0002,347,008
12Jun 20, 2023 06:5110,636377,062,995346,004,0005,000,0002,482,176