Problem about Segment Tree

Правка en3, от hmmmm_1, 2017-05-14 13:15:45

Problem statement: https://www.codechef.com/problems/MLCHEF

  • I using Segment Tree lazy propagation : each node has :
  • minhealth : the minimum health of chef has id [L; R]
  • Count : the numer of old chef has id [L; R]
  • poison : the number of poisonous that the chef has id [L; R] receive
  • I tried to solve it but got WA, I create 1000 tests to check my code using the code got AC in internet but I can't find what went wrong!

  • My code : Link Please help me! Thanks a lot :)
Теги codechef, segment tree, mlchef

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский hmmmm_1 2017-05-14 13:15:45 20
en2 Английский hmmmm_1 2017-05-14 13:14:14 0 (published)
en1 Английский hmmmm_1 2017-05-14 13:13:48 536 Initial revision (saved to drafts)