help needed for C. New Year and Rating

Revision en1, by mahim007, 2017-01-04 21:02:15

here is my code: 23522947 problem link: 750C - New Year and Rating i used left boundary and right boundary for managing lowest and highest possible values.but can't manage to get accepted. what is wrong in my logic,someone help me to find that.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mahim007 2017-01-04 21:02:15 286 Initial revision (published)