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 05:38matsuoka-601matsuoka-601Score: 12,330Success
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 05:3810,036408,904,151331,198,35802,256,896
2Jun 18, 2023 05:3811,815456,731,378389,896,92702,244,608
3Jun 18, 2023 05:3811,989458,533,077395,629,37602,244,608
4Jun 18, 2023 05:3812,197430,206,907392,502,0009,987,0002,285,568
5Jun 18, 2023 05:3812,292428,810,488395,659,0009,991,0002,445,312
6Jun 18, 2023 05:3812,327431,694,803397,786,0008,995,0002,277,376
7Jun 18, 2023 05:3812,330430,067,204396,878,0009,996,0002,453,504
8Jun 18, 2023 05:3812,345433,770,937399,392,0008,007,0002,285,568
9Jun 18, 2023 05:3812,357434,858,973399,774,0007,995,0002,285,568
10Jun 18, 2023 05:3812,375431,076,994399,405,0008,986,0002,449,408
11Jun 18, 2023 05:3812,440433,679,106401,521,0008,989,0002,445,312
12Jun 18, 2023 05:3812,445433,724,166401,706,0008,993,0002,469,888