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, 2023 13:54matsuoka-601matsuoka-601Score: 16,759Success
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, 2023 13:5416,362601,660,182539,962,40702,191,360
2Jun 16, 2023 13:5416,398611,825,698541,141,71602,195,456
3Jun 16, 2023 13:5416,464605,670,826543,324,63102,179,072
4Jun 16, 2023 13:5416,720575,093,574535,774,00015,993,0002,449,408
5Jun 16, 2023 13:5416,721579,422,273534,804,00016,993,0002,502,656
6Jun 16, 2023 13:5416,731575,082,871535,113,00017,003,0002,506,752
7Jun 16, 2023 13:5416,759576,767,308532,072,00020,963,0002,277,376
8Jun 16, 2023 13:5416,806578,670,685538,623,00015,988,0002,306,048
9Jun 16, 2023 13:5416,818581,360,858535,041,00019,964,0002,367,488
10Jun 16, 2023 13:5416,928583,486,691542,643,00015,989,0002,375,680
11Jun 16, 2023 13:5416,981584,291,149546,393,00013,984,0002,437,120
12Jun 16, 2023 13:5417,001590,335,474541,070,00019,965,0002,453,504