I need help in a Python code.
The problem is CodeChef: Practical coding for everyone
my code link is CodeChef: Practical coding for everyone
can someone please tell me what is wrong in my logic or code.
Help will be appreciated
I need help in a Python code.
The problem is CodeChef: Practical coding for everyone
my code link is CodeChef: Practical coding for everyone
can someone please tell me what is wrong in my logic or code.
Help will be appreciated
guys please help!!
Well, my idea was slow but it worked: CodeChef: Practical coding for everyone
I created a test case for which your program fails, hopefully it will guide you to the flaw in your logic:
3
2 5
2 2
3 4
Your code prints 2 though the expected output was 3
@tanmay_garg thanks for the help. I understood what was needed to be done from your code.
Thanks a lot buddy