10pullupsin2019's blog

By 10pullupsin2019, history, 9 years ago, In English

I'm stuck with this problem

I've not found any blog or editorial on it and I couldn't understand the solution by reading a code. Can anyone please explain how to solve this problem in a few words?

Tags dp, dsu
  • Vote: I like it
  • +1
  • Vote: I do not like it