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 15:08matsuoka-601matsuoka-601Score: 9,442Success
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 15:089,393335,986,615296,969,00012,998,0002,342,912
2Aug 8, 2023 15:089,406337,531,801297,412,00012,974,0002,461,696
3Aug 8, 2023 15:089,407341,214,386296,447,00013,973,0002,437,120
4Aug 8, 2023 15:089,421334,279,496299,893,00010,996,0002,330,624
5Aug 8, 2023 15:089,431339,845,746297,268,00013,965,0002,416,640
6Aug 8, 2023 15:089,442334,941,121297,590,00013,980,0002,473,984
7Aug 8, 2023 15:089,442336,990,148298,603,00012,982,0002,490,368
8Aug 8, 2023 15:089,444334,207,878298,668,00012,985,0002,523,136
9Aug 8, 2023 15:089,482334,750,789302,915,0009,997,0002,412,544
10Aug 8, 2023 15:089,630382,696,270317,805,17302,211,840
11Aug 8, 2023 15:089,680379,699,265319,448,13302,215,936
12Aug 8, 2023 15:089,682412,116,020319,492,12002,187,264