Help needed in 1336A-Linova and Kingdom. Need a better explanation for the solution

Правка en2, от kazakhThunder, 2020-04-24 18:40:25

The editorial for the given problem is a tad bit too difficult to understand for me, and I suppose for many others. Thus, I am looking for simpler explanations to the solution. Any help would be greatly appreciated. UPD: Here is the link to the problem: https://codeforces.net/contest/1336/problem/A

Теги codeforces round 635, #trees, #graph, #dfs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский kazakhThunder 2020-04-24 18:40:25 86
en1 Английский kazakhThunder 2020-04-24 18:30:14 298 Initial revision (published)