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 listJun 25, 2025 01:59Ian MckibbenIan MckibbenScore: 14,998Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2025 02:0214,905514,332,805409,876,00081,975,0002,371,584
2Jun 25, 2025 02:0214,918524,097,290416,393,00075,889,0002,322,432
3Jun 25, 2025 01:4814,922516,069,643409,526,00082,904,0002,347,008
4Jun 25, 2025 01:5914,930513,811,015415,745,00076,952,0002,408,448
5Jun 25, 2025 02:0214,938511,826,505412,966,00079,993,0002,297,856
6Jun 25, 2025 01:4814,942516,179,142431,070,00062,010,0002,318,336
7Jun 25, 2025 01:4814,968518,789,911412,965,00080,993,0002,342,912
8Jun 25, 2025 01:4814,984518,360,710422,552,00071,923,0002,527,232
9Jun 25, 2025 02:0214,984516,878,269420,551,00073,921,0002,523,136
10Jun 25, 2025 02:0214,989516,879,831412,700,00081,940,0002,408,448
11Jun 25, 2025 02:0214,998522,045,274423,951,00070,991,0002,416,640
12Jun 25, 2025 01:4815,010524,038,955415,428,00079,890,0002,301,952
13Jun 25, 2025 02:0215,017518,281,286424,627,00070,937,0002,318,336
14Jun 25, 2025 01:5915,019516,419,322425,691,00069,949,0002,318,336
15Jun 25, 2025 01:5915,021520,655,989418,733,00076,951,0002,412,544
16Jun 25, 2025 02:0215,051525,018,857409,748,00086,946,0002,322,432
17Jun 25, 2025 01:4815,052518,874,109415,771,00080,955,0002,306,048
18Jun 25, 2025 01:4815,072519,920,491430,447,00066,914,0002,408,448
19Jun 25, 2025 02:0215,085520,481,439423,828,00073,970,0002,338,816
20Jun 25, 2025 01:4815,390535,082,212422,899,00084,979,0002,330,624
21Jun 25, 2025 01:4815,396534,183,782435,199,00072,865,0002,314,240