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,441Success
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,379400,874,072368,514,0006,990,0002,473,984
2Dec 5, 2022 07:0311,396400,753,978370,064,0006,001,0002,502,656
3Dec 5, 2022 07:0311,397400,961,721366,098,00010,002,0002,355,200
4Dec 5, 2022 07:0311,417402,359,621368,780,0007,995,0002,338,816
5Dec 5, 2022 07:0311,426405,107,938369,062,0008,001,0002,285,568
6Dec 5, 2022 07:0311,440406,356,415367,496,00010,013,0002,453,504
7Dec 5, 2022 07:0311,441404,462,842369,566,0007,990,0002,420,736
8Dec 5, 2022 07:0311,529407,203,961374,467,0005,991,0002,396,160
9Dec 5, 2022 07:0311,947423,330,286383,282,00010,979,0002,351,104
10Dec 5, 2022 07:0312,005476,590,241396,166,13302,203,648
11Dec 5, 2022 07:0312,060463,833,548397,994,52002,269,184
12Dec 5, 2022 07:0312,073468,272,295398,413,10602,260,992