getting testcase error
Painters partition probleem
you have done one mistake
s should be equal to maximum element and h should be equal to sum of all element
s=maximum;
e=sum;
still only one testcase is passing
also send the question link or exact name of problem
what is t in your code??
t is not given in question
i have remove t and do the modification told above
it is passing all testcases
Modified Code
if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like : and don’t forgot to mark doubt as resolved
1 Like