Блог пользователя R.A.N.K.A.

Автор R.A.N.K.A., история, 4 года назад, По-английски

I am not able to point out my mistake in this code Can someone help me out to debug my code

Submission

I tried to solve this problem using centroid decomposition methed explained in this editorail :- editoial

Thanks in advance!.

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится +19 Проголосовать: не нравится

Thank you guys!

I have finally debugged my code after continuous effort of 4 hours here is the code of Accepted Solution

There was very minor change in my new code

On line no 96 I changed

from print(u) to print(centroid); Once again Thank you all of you!!