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 listJul 4, 2026 20:01zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 5, 2026 02:39Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 02:39010,984,2041,084,0002,188,0002,121,728expected "16384 ", got "14847 "stderr
2Jul 5, 2026 02:39011,037,2841,086,0002,252,0002,121,728expected "16384 ", got "14847 "stderr
3Jul 5, 2026 02:39010,958,4421,556,0001,556,0002,121,728expected "16384 ", got "14847 "stderr
4Jul 4, 2026 20:043,502123,613,213113,371,0002,207,0002,121,728stderr
5Jul 4, 2026 20:043,520124,304,449114,013,0002,174,0002,121,728stderr
6Jul 4, 2026 20:043,550125,105,384114,977,0002,191,0002,121,728stderr
7Jul 4, 2026 20:043,560125,513,527115,159,0002,345,0002,121,728stderr
8Jul 4, 2026 20:043,578126,151,551115,684,0002,390,0002,121,728stderr
9Jul 4, 2026 20:043,581126,185,552115,947,0002,230,0002,121,728stderr
10Jul 4, 2026 20:043,586126,336,474116,049,0002,293,0002,121,728stderr
11Jul 4, 2026 20:043,608127,459,536116,798,0002,269,0002,121,728stderr
12Jul 4, 2026 20:043,639128,176,120117,762,0002,351,0002,121,728stderr