Need Help in problem "Triangle Query"

Правка en1, от sia, 2020-05-08 22:15:17

Hi, I was trying to solve the problem Triangle Query from codechef April Lunchtime. I tried to keep the track of the points and carry out the updates and queries with the help of segment trees but got a WA. I have already tried out many test cases but my code passes all of them I would be very grateful if somebody can tell me what is the flaw in my code or just provide a test case for which my code fails. Problem Link:https://www.codechef.com/problems/TRIQRY WA solution: https://www.codechef.com/viewsolution/32879645 variable names are good enough to make the code clear enough to understand what's going on

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский sia 2020-05-08 22:16:03 4
en1 Английский sia 2020-05-08 22:15:17 655 Initial revision (published)