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 listDec 5, 2022 07:03Yuriy LyfenkoYuriy LyfenkoScore: 11,609Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 5, 2022 07:0311,489404,790,158371,145,0008,003,0002,347,008
2Dec 5, 2022 07:0311,517410,912,654374,049,0006,000,0002,351,104
3Dec 5, 2022 07:0311,526404,291,986371,365,0009,008,0002,514,944
4Dec 5, 2022 07:0311,534407,905,133371,630,0008,991,0002,347,008
5Dec 5, 2022 07:0311,573412,383,138374,895,0006,998,0002,326,528
6Dec 5, 2022 07:0311,596408,993,266374,676,0007,993,0002,347,008
7Dec 5, 2022 07:0311,609457,448,114383,105,87902,269,184
8Dec 5, 2022 07:0311,657412,762,112375,685,0008,992,0002,355,200
9Dec 5, 2022 07:0311,667413,768,984375,997,0008,999,0002,514,944
10Dec 5, 2022 07:0312,065424,543,299389,162,0008,980,0002,396,160
11Dec 5, 2022 07:0312,114462,633,785399,770,89902,256,896
12Dec 5, 2022 07:0312,118459,143,635399,890,78202,260,992