Hello Code forces,
I am trying this problem 1359C - Mixing Water. My IDE returns right values with my code, but CF judge said that function returns nothing
(In test 2). So what should I do?
Here is my code
My submission
Please give me helpful suggestions.
It seems that your code finished the while loop without ever executing the
return f;
statement. In that case the code expects you to return a value at the end of the function but there is no return statement.Binsearch should return ll, but in your code it returns nothing