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 29, 2022 10:28Bernard TeoBernard TeoScore: 9,806Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 10:289,684390,262,423319,584,40302,293,760
2Aug 29, 2022 10:289,687375,734,343319,666,22402,297,856
3Aug 29, 2022 10:299,700388,296,193320,093,91702,289,664
4Aug 29, 2022 10:289,758381,954,142322,016,59402,174,976
5Aug 29, 2022 10:299,784381,844,879322,887,13302,289,664
6Aug 29, 2022 10:289,785394,410,646322,896,60402,293,760
7Aug 29, 2022 10:299,806387,518,588323,610,49702,289,664
8Aug 29, 2022 10:289,817389,966,442323,962,20702,285,568
9Aug 29, 2022 10:299,818401,511,794324,003,85902,285,568
10Aug 29, 2022 10:299,830384,065,626324,388,33302,289,664
11Aug 29, 2022 10:299,841387,140,899324,762,57302,301,952
12Aug 29, 2022 10:289,971395,427,912329,054,85402,293,760