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 23, 2022 16:38eldon-chungeldon-chungError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2022 16:3700000Error: expected "1020101 ", got "1020100 "
2Aug 23, 2022 16:39129,5094,328,973,6634,273,798,17102,183,168
3Aug 23, 2022 16:39129,8994,351,256,2364,286,669,77402,179,072
4Aug 23, 2022 16:39129,9114,358,369,5044,287,065,37002,187,264
5Aug 23, 2022 16:39129,9984,345,032,0294,289,918,35102,191,360
6Aug 23, 2022 16:39130,0274,400,564,9634,290,905,52402,183,168
7Aug 23, 2022 16:39130,1064,356,139,3764,293,501,17802,179,072
8Aug 23, 2022 16:39130,1444,355,902,0244,294,750,03002,179,072
9Aug 23, 2022 16:39130,2134,366,698,6544,297,032,71602,179,072
10Aug 23, 2022 16:39130,7674,371,523,4984,315,325,07002,187,264
11Aug 23, 2022 16:38130,8504,380,881,2384,318,043,55202,191,360
12Aug 23, 2022 16:39130,8574,379,864,1534,318,265,35002,187,264
13Aug 23, 2022 16:39131,1564,395,253,4814,328,132,97202,297,856
14Aug 23, 2022 16:39131,4464,391,332,3804,337,717,53602,183,168
15Aug 23, 2022 16:38132,8874,448,239,4744,385,279,41202,187,264
16Aug 23, 2022 16:38133,5064,469,985,4534,405,685,43702,183,168