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 listMay 21, 2024 17:56Joad NacerJoad NacerScore: 9,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2024 17:568,367344,318,381276,097,82102,236,416
2May 21, 2024 17:568,462339,953,855279,259,06802,228,224
3May 21, 2024 17:568,494337,460,353280,302,49802,228,224
4May 21, 2024 17:569,449332,355,047257,858,00053,970,0002,428,928
5May 21, 2024 17:569,491339,858,818258,161,00055,034,0002,310,144
6May 21, 2024 17:569,714352,115,988260,654,00059,920,0002,437,120
7May 21, 2024 17:569,742351,956,820262,582,00058,906,0002,375,680
8May 21, 2024 17:569,808346,365,345264,713,00058,936,0002,433,024
9May 21, 2024 17:569,810346,911,993265,781,00057,952,0002,306,048
10May 21, 2024 17:569,816346,855,864267,937,00055,986,0002,420,736
11May 21, 2024 17:569,935348,304,089272,882,00054,976,0002,355,200
12May 21, 2024 17:5610,253370,296,654280,459,00057,888,0002,437,120