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 listFeb 17, 2025 09:10Ian MckibbenIan MckibbenScore: 19,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 17, 2025 07:3219,346661,843,888553,492,00084,922,0002,289,664
2Feb 17, 2025 09:1019,385661,497,035538,755,000100,954,0002,486,272
3Feb 17, 2025 09:1019,397665,819,776553,087,00087,013,0002,490,368
4Feb 17, 2025 09:1019,421660,479,464568,902,00071,987,0002,375,680
5Feb 17, 2025 09:1019,422663,711,913557,946,00082,992,0002,285,568
6Feb 17, 2025 07:3219,436668,265,512556,470,00084,919,0002,281,472
7Feb 17, 2025 07:3219,451662,059,062557,895,00083,984,0002,375,680
8Feb 17, 2025 07:3219,493667,481,876564,361,00078,910,0002,387,968
9Feb 17, 2025 07:3219,493670,496,011548,375,00094,891,0002,281,472
10Feb 17, 2025 07:3219,500669,054,582562,554,00080,935,0002,269,184
11Feb 17, 2025 09:1019,514664,870,073560,963,00082,994,0002,285,568
12Feb 17, 2025 09:1019,525666,569,507563,398,00080,913,0002,371,584
13Feb 17, 2025 09:1019,529666,719,230564,517,00079,931,0002,347,008
14Feb 17, 2025 07:3219,544670,379,132567,956,00076,994,0002,359,296
15Feb 17, 2025 07:3219,613678,519,665558,325,00088,892,0002,473,984
16Feb 17, 2025 09:1019,616672,327,442557,422,00089,906,0002,375,680
17Feb 17, 2025 09:1019,703676,898,085562,317,00087,893,0002,510,848
18Feb 17, 2025 07:3219,726676,365,715576,081,00074,880,0002,338,816