Please gebug my program , I can't find bugs !!!

Revision en1, by Ahnaf.Shahriar.Asif, 2017-11-30 16:08:23

Hello everybody , I have tried a lot to sole the light oj 1087 — Diablo problem .

problem link : http://www.lightoj.com/volume_showproblem.php?problem=1087

My test sample output is not matching , I have tried a lot , I am a noob , please help me to debug my code . Why does it occurs ??

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

Please help me , Downvote ?? It's okay . But please help me ..................

Tags debugging

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Ahnaf.Shahriar.Asif 2017-11-30 16:09:41 2
en1 English Ahnaf.Shahriar.Asif 2017-11-30 16:08:23 475 Initial revision (published)