youssefbou62's blog

By youssefbou62, history, 4 years ago, In English

Can anyone who solved this problem explain how to solve subtask 2 and full solution please ? https://oj.uz/problem/view/BOI17_catinatree

  • Vote: I like it
  • -3
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by youssefbou62 (previous revision, new revision, compare).

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Same problem with weights on nodes : Link
Here's the O(n) solution described as well as the subtasks : Link

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it
51 points
100 points