I am getting the same output with this code but after its submission it is showing incorrect testcases why?
also i have to use two times the same loop(line 13 and 20) for finding the sum and if i m doing that in one then i m not getting correct output why?
plz resolve it