I need serious help , please...

Revision en2, by Ahnaf.Shahriar.Asif, 2017-11-06 09:18:45

I have tried a lot to solve the "milking cow" problem of USACO . But WA in test 7 . I don't know what is the problem , i have tried multiple approaches , but it still wrong in test 7 . can you please help me to find my bug please ????

my code : https://paste.ubuntu.com/25901070/

problem source : http://train.usaco.org/usacoprob2?a=pxSIvVnwAXn&S=milk2

please please please help me guys , I have tried my best .

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Ahnaf.Shahriar.Asif 2017-11-06 09:18:45 25
en1 English Ahnaf.Shahriar.Asif 2017-11-06 09:18:13 453 Initial revision (published)