ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1461. Christmas Garland

_JackDaniel's the conditions of the problem [1] // Problem 1461. Christmas Garland 1 Nov 2020 21:48
Why is the correct answer in the example "uhhdud" and not "uhdudh"?

in terms of lexicographic order, this combination is closer to the original data.
Harkonnen Re: the conditions of the problem // Problem 1461. Christmas Garland 16 Aug 2022 07:49
It's not next in the book, it's before. d < h < u