my code is working fine for given test cases but geeting wrong answer on submission.
Divide and conquer-pair of roses
https://ide.codingblocks.com/s/196346 is with some modification in your code.
I have done little modification in your code.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.