Getting WA in flooring

//DONT POST CODE HERE

What is wrong in the code
i have checked for many test cases. Answers are correct

//