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 19, 2023 14:11matsuoka-601matsuoka-601Score: 10,917Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 14:1110,078395,222,381332,574,28602,277,376
2Jun 19, 2023 14:1110,804384,979,763350,546,0005,992,0002,437,120
3Jun 19, 2023 14:1110,819382,741,794352,011,0005,000,0002,285,568
4Jun 19, 2023 14:1110,826388,791,253352,282,0004,989,0002,478,080
5Jun 19, 2023 14:1110,866379,712,091352,587,0005,992,0002,486,272
6Jun 19, 2023 14:1110,904387,020,083354,841,0004,997,0002,478,080
7Jun 19, 2023 14:1110,917383,807,002356,254,0003,991,0002,482,176
8Jun 19, 2023 14:1110,930388,486,064355,702,0004,995,0002,502,656
9Jun 19, 2023 14:1110,942392,805,968356,087,0004,987,0002,490,368
10Jun 19, 2023 14:1110,942389,001,125356,111,0004,987,0002,490,368
11Jun 19, 2023 14:1111,210433,886,613369,929,40602,265,088
12Jun 19, 2023 14:1111,276439,090,528372,103,97502,256,896