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 1, 2026 18:05zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 5, 2026 00:32Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 00:32011,020,3421,549,0001,549,0002,121,728expected "16384 ", got "349 "stderr
2Jul 5, 2026 00:32010,956,7171,042,0002,156,0002,121,728expected "16384 ", got "349 "stderr
3Jul 5, 2026 00:32010,964,1701,045,0002,149,0002,121,728expected "16384 ", got "349 "stderr
4Jan 1, 2026 17:583,429138,375,808111,150,0002,002,0002,445,312
5Jan 1, 2026 17:583,457139,860,652112,086,0002,001,0002,535,424
6Jan 1, 2026 17:593,462135,649,911112,236,0002,004,0002,506,752
7Jan 1, 2026 18:093,493137,281,268113,251,0002,004,0002,416,640
8Jan 1, 2026 18:003,508140,452,780113,756,0001,995,0002,408,448
9Jan 1, 2026 18:093,509137,835,241113,816,0001,996,0002,412,544
10Jan 1, 2026 18:053,525135,724,301114,322,0002,005,0002,416,640
11Jan 1, 2026 17:583,525150,066,864114,314,0002,005,0002,535,424
12Jan 1, 2026 17:593,530140,973,322115,493,0001,004,0002,428,928
13Jan 1, 2026 18:003,569136,731,776114,789,0002,994,0002,535,424
14Jan 1, 2026 17:593,575142,204,258115,976,0001,999,0002,535,424
15Jan 1, 2026 18:003,584137,973,257117,257,0001,002,0002,506,752
16Jan 1, 2026 18:053,630144,447,836118,796,000998,0002,420,736
17Jan 1, 2026 18:093,659141,005,658118,739,0001,995,0002,412,544
18Jan 1, 2026 18:053,668144,978,206119,048,0002,000,0002,502,656