My above solution is running for some cases i.e., it was partially accepted , I made a small change in the code in Line 54: temp+=(Math.ceil( ((float) (C[i]mid))/(float)B[i])); changed to temp=temp(mid/B[i])+A[i]; After doing this I got AC for all cases Please can anyone tell me why is this happening asked 22 Oct '18, 13:09
