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 listMay 15, 2026 00:53zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 03:59Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:00011,108,4021,042,0002,115,0002,121,728expected "16384 ", got "350 "stderr
2Jul 4, 2026 04:00011,243,5861,044,0002,198,0002,121,728expected "16384 ", got "350 "stderr
3Jul 4, 2026 04:00010,962,0661,040,0002,198,0002,121,728expected "16384 ", got "350 "stderr
4May 15, 2026 00:552,971105,399,25495,925,0002,144,0002,117,632stderr
5May 15, 2026 00:552,982105,563,01996,326,0002,100,0002,117,632stderr
6May 15, 2026 00:553,009107,186,01297,187,0002,127,0002,117,632stderr
7May 15, 2026 00:553,026107,141,41497,763,0002,105,0002,117,632stderr
8May 15, 2026 00:553,027109,074,59397,789,0002,109,0002,117,632stderr
9May 15, 2026 00:553,033107,690,80097,991,0002,106,0002,117,632stderr
10May 15, 2026 00:553,054109,990,17398,609,0002,193,0002,117,632stderr
11May 15, 2026 00:553,069109,883,81698,994,0002,285,0002,117,632stderr
12May 15, 2026 00:553,143114,352,152101,670,0002,080,0002,117,632stderr