NEED HELP IN Hanging Hearts 1740 E

Правка en2, от lamda_cdm, 2023-03-08 10:17:14

I was trying this problem. Tried a greedy solution , where I number the nodes starting from the lower level . And take every leaf node one by one . Someway it's failing . I tried making counter test cases but couldn't find a case where my solution failed. Here's my link 196466553 to the submission . Problem 1740E - Hanging Hearts

Thanks in advance

Теги help, trees

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский lamda_cdm 2023-03-08 10:17:14 21 Tiny change: 'lem:1740E]' -> 'lem:1740E]\n\nThanks in advance'
en1 Английский lamda_cdm 2023-03-08 10:16:16 372 Initial revision (published)