I am getting wrong answer in test case 3 and 5 at first I thought it may be due to larrge number and replace every number where it may lead to integer overflow with long still the same verdict for test case 3 and 5. can ypu help??
Painter partion problem
may I know when will I get an response I an stuck and cant find where did my code went wrong
for test case like
4
6
99999 8999565 809950 1234999
123456 777777
the correct answer is
8999565 not 0
debug for this