hmmmm_1's blog

By hmmmm_1, history, 9 years ago, In English

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 :)

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it