CSES Path Queries II tle issue

Правка en1, от Ramaman_22, 2024-05-16 15:31:41

Hello communtiy, I have been solving a problem of Heavy Light Decomposition(HLD) on cses,Path Queries II. It is passing all the test cases except the penultimate one. As per my understanding I have written the optimal one. Plz advice me what more i can do in this solution to pass it.

Thanks.

Problem link:CLick here

Source code: 261194019

P.S: I just submitted my source code to a random codeforce problem just to get it as a submission link.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ramaman_22 2024-05-16 15:31:41 540 Initial revision (published)