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 listAug 26, 2022 13:13Bernard TeoBernard TeoScore: 10,308Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2022 17:4410,212394,087,248337,003,24602,277,376
2Aug 26, 2022 13:1310,232399,220,827337,654,59202,277,376
3Aug 26, 2022 13:1310,243402,866,902338,011,50402,244,608
4Aug 26, 2022 17:4410,252395,120,701338,325,04702,273,280
5Aug 26, 2022 17:4410,270405,455,201338,922,46502,289,664
6Aug 26, 2022 17:4410,296418,779,066339,757,67302,277,376
7Aug 26, 2022 17:4410,296409,354,271339,766,18702,277,376
8Aug 26, 2022 17:4410,308406,635,093340,176,05002,281,472
9Aug 26, 2022 13:1310,311400,416,619340,260,62202,285,568
10Aug 26, 2022 17:4410,315402,962,387340,402,76402,285,568
11Aug 26, 2022 17:4410,324405,104,729340,707,44302,277,376
12Aug 26, 2022 13:1310,353388,423,741341,652,82402,281,472
13Aug 26, 2022 13:1310,443407,565,014344,614,19902,285,568
14Aug 26, 2022 13:1310,827418,365,744357,305,99002,285,568
15Aug 26, 2022 17:4410,861418,371,277358,416,33802,285,568