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 21, 2023 03:57matsuoka-601matsuoka-601Score: 8,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2023 03:578,230336,514,662271,574,18002,236,416
2Aug 21, 2023 03:578,259338,444,446272,562,54702,252,800
3Aug 21, 2023 03:578,287299,627,051247,522,00025,949,0002,453,504
4Aug 21, 2023 03:578,307342,133,962274,134,30102,289,664
5Aug 21, 2023 03:578,310299,806,670248,200,00026,021,0002,297,856
6Aug 21, 2023 03:578,316299,931,147248,475,00025,945,0002,318,336
7Aug 21, 2023 03:578,318301,360,962246,532,00027,947,0002,433,024
8Aug 21, 2023 03:578,324301,219,418246,726,00027,969,0002,310,144
9Aug 21, 2023 03:578,326303,420,395249,785,00024,978,0002,306,048
10Aug 21, 2023 03:578,334298,989,214251,010,00024,001,0002,314,240
11Aug 21, 2023 03:578,349304,475,232257,545,00017,968,0002,355,200
12Aug 21, 2023 03:578,363298,286,313250,972,00024,997,0002,494,464