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 18, 2023 16:40matsuoka-601matsuoka-601Score: 12,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 16:4010,416407,667,461343,727,46502,240,512
2Jun 18, 2023 16:4012,058473,337,232397,927,16502,220,032
3Jun 18, 2023 16:4012,075465,499,504398,459,03402,215,936
4Jun 18, 2023 16:4012,709447,650,477410,417,0008,987,0002,428,928
5Jun 18, 2023 16:4012,711442,925,150411,471,0007,989,0002,428,928
6Jun 18, 2023 16:4012,784448,598,812413,865,0007,997,0002,416,640
7Jun 18, 2023 16:4012,790455,019,109412,093,0009,978,0002,424,832
8Jun 18, 2023 16:4012,858452,195,702414,317,0009,983,0002,502,656
9Jun 18, 2023 16:4012,858445,458,399416,327,0007,987,0002,322,432
10Jun 18, 2023 16:4012,923453,315,033417,465,0008,988,0002,420,736
11Jun 18, 2023 16:4012,936450,985,275417,919,0008,976,0002,326,528
12Jun 18, 2023 16:4013,060458,039,822421,974,0008,999,0002,260,992