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 10, 2026 00:38zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 09:26Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 09:27010,872,1171,541,0001,540,0002,121,728expected "16384 ", got "349 "stderr
2Jul 4, 2026 09:27010,952,6541,530,0001,530,0002,121,728expected "16384 ", got "349 "stderr
3Jul 4, 2026 09:27010,893,1131,516,0001,517,0002,121,728expected "16384 ", got "349 "stderr
4Jan 10, 2026 00:383,094129,152,679100,102,0002,002,0002,412,544
5Jan 10, 2026 00:383,116127,326,64099,846,0002,995,0002,351,104
6Jan 10, 2026 00:383,119124,859,407100,914,0001,998,0002,416,640
7Jan 10, 2026 00:383,146126,155,551102,805,000998,0002,408,448
8Jan 10, 2026 00:383,184125,758,333103,085,0002,001,0002,535,424
9Jan 10, 2026 00:383,186125,167,426102,122,0003,003,0002,535,424
10Jan 10, 2026 00:383,217131,526,423104,155,0002,002,0002,535,424
11Jan 10, 2026 00:383,219125,231,883103,210,0003,006,0002,535,424
12Jan 10, 2026 00:383,286130,479,171106,427,0002,008,0002,289,664