plzzz help for ZCO 16001 BookShelves

Plzz let me know what is wrong in this code for ZCO 16001 BookShelves

CodeChef: Practical coding for everyone

Many testcases are passing however not a single subtasks is passing

Thanks in advance

1 Like