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 listDec 29, 2025 19:54zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 5, 2026 04:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 04:16020,877,9895,407,0007,564,0002,121,728expected "16384 ", got "786 "stderr
2Jul 5, 2026 04:16021,273,9215,427,0007,875,0002,121,728expected "16384 ", got "786 "stderr
3Jul 5, 2026 04:16020,948,3325,306,0007,587,0002,121,728expected "16384 ", got "786 "stderr
4Dec 29, 2025 19:543,603138,210,800110,921,0007,994,0002,285,568
5Dec 29, 2025 19:543,605139,768,683112,972,0005,998,0002,277,376
6Dec 29, 2025 19:543,606139,923,286111,986,0006,999,0002,412,544
7Dec 29, 2025 19:543,619143,830,419113,397,0006,021,0002,289,664
8Dec 29, 2025 19:543,626147,340,211112,692,0006,980,0002,281,472
9Dec 29, 2025 19:543,637141,607,543111,019,0009,001,0002,285,568
10Dec 29, 2025 19:543,639138,975,658112,071,0008,005,0002,269,184
11Dec 29, 2025 19:543,657145,227,044110,722,0009,974,0002,359,296
12Dec 29, 2025 19:543,748146,475,087115,701,0007,979,0002,478,080