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 8, 2023 13:52matsuoka-601matsuoka-601Score: 9,544Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 13:529,447335,531,440285,786,00025,980,0002,461,696
2Aug 8, 2023 13:529,478335,529,892293,774,00018,985,0002,428,928
3Aug 8, 2023 13:529,481335,743,547295,870,00016,992,0002,465,792
4Aug 8, 2023 13:529,491339,546,729296,182,00017,010,0002,416,640
5Aug 8, 2023 13:529,495336,804,369293,319,00020,021,0002,277,376
6Aug 8, 2023 13:529,506338,212,212290,719,00022,977,0002,461,696
7Aug 8, 2023 13:529,544339,038,262292,958,00021,996,0002,502,656
8Aug 8, 2023 13:529,547338,729,247293,033,00022,002,0002,379,776
9Aug 8, 2023 13:529,556344,813,208297,327,00018,019,0002,428,928
10Aug 8, 2023 13:529,610376,265,756317,128,19102,265,088
11Aug 8, 2023 13:529,639428,638,074318,073,66902,256,896
12Aug 8, 2023 13:529,680381,655,135319,434,77702,211,840