i took s = arr[1]-arr[0]; thinking that only 1 cow can be kept in 1 stall.
does this question mean that we can keep more than 1 cow in each stall ?.
my code failed for last case on submission.
if the question had mennt that only 1 cow in each stall then is my code correct??
by just changing s =0; my code is accepted for all testcase.(which means that more than 1 cow can be kept in each stall)