Test case problem

why my code is note able to pass test case 0 and 1