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 listJan 2, 2026 17:08zielajzielajScore: 3,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 16:523,330132,980,865108,898,000999,0002,412,544
2Jan 2, 2026 16:523,335134,483,966107,058,0003,001,0002,420,736
3Jan 2, 2026 17:083,339134,306,243108,178,0002,003,0002,412,544
4Jan 2, 2026 16:573,342129,620,952108,266,0002,004,0002,273,280
5Jan 2, 2026 16:523,344136,509,418108,335,0002,006,0002,416,640
6Jan 2, 2026 16:523,356134,349,403107,767,0002,993,0002,506,752
7Jan 2, 2026 16:523,357136,343,213108,781,0001,995,0002,416,640
8Jan 2, 2026 16:523,360134,971,874108,880,0001,997,0002,535,424
9Jan 2, 2026 16:523,366134,356,438109,082,0002,001,0002,314,240
10Jan 2, 2026 16:573,440140,769,336111,506,0002,009,0002,416,640
11Jan 2, 2026 17:083,441143,270,750111,541,0002,009,0002,379,776
12Jan 2, 2026 16:573,472139,845,789113,568,0001,005,0002,412,544
13Jan 2, 2026 17:083,492138,474,042113,226,0002,004,0002,273,280
14Jan 2, 2026 16:523,513139,913,598113,926,0001,998,0002,273,280
15Jan 2, 2026 16:523,514134,045,719114,971,000999,0002,269,184