Help in the problem Ada and Dishes(

I have written my code below but I don’t know why it is showing that my answer is only partially correct even though my output is correct and I have also taken care about the constraints. So here is the link to my code, please help me in correcting it: