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 listAug 31, 2026 08:40Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 22:41Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 23:01020,019,410,39120,008,228,0002,358,00040,960Killed by timeout
2Aug 31, 2026 08:452,887103,769,59092,712,0002,578,0002,142,208stderr
3Aug 31, 2026 08:452,891103,895,47192,891,0002,524,0002,142,208stderr
4Aug 31, 2026 08:452,914104,643,97893,573,0002,590,0002,142,208stderr
5Aug 31, 2026 08:452,920104,846,94593,728,0002,636,0002,142,208stderr
6Aug 31, 2026 08:452,923104,994,88893,945,0002,539,0002,146,304stderr
7Aug 31, 2026 08:452,925105,057,10593,953,0002,595,0002,146,304stderr
8Aug 31, 2026 08:452,927105,037,07194,047,0002,563,0002,142,208stderr
9Aug 31, 2026 08:452,927105,078,04794,070,0002,548,0002,142,208stderr
10Aug 31, 2026 08:452,945106,233,50594,625,0002,561,0002,142,208stderr