@@prateekgoel7248 My question is that when you fix q = r - 2, we will get different combinations of q and p which is fine. But What if there exists a combination like p = 3, q = 7, r = n - 6, s = n - 3. I might get p=3, q=7 after some iterations but it wont be with the required combinations of r and s .right? Do I make sense?
r and s, will be already computer till that time. So when we reach the p=3 and q=7, it will add the answer. If you have any other doubts, please join our discussion group and we can discuss the solution: chat.whatsapp.com/CBhszObdhii7T6hDbgbXgp
Thanks Prateek Bhaiya, understood your solutions in first go!!!
good explanation for q3, thankss
Why did you fix q = r - 2, what if I wanted something like p = 3, q = 7 and r = n - 6 , s = n - 3. Can you explain your intuition behind it?
It is just for providing a value to q, after some iteration it will hit p=3 and q=7 as well.
@@prateekgoel7248 My question is that when you fix q = r - 2, we will get different combinations of q and p which is fine.
But What if there exists a combination like p = 3, q = 7, r = n - 6, s = n - 3. I might get p=3, q=7 after some iterations but it wont be with the required combinations of r and s .right? Do I make sense?
r and s, will be already computer till that time.
So when we reach the p=3 and q=7, it will add the answer.
If you have any other doubts, please join our discussion group and we can discuss the solution:
chat.whatsapp.com/CBhszObdhii7T6hDbgbXgp
@@prateekgoel7248 Ohkkkk, I understood, I was thinking differently. Thank you!
Thanks bhaiya
Brother can u explain using notepad or some other way from next contest. I know its too much to ask❤
Sure bro, i will try to do that from next contest.