Here is the link to my code:
https://www.codechef.com/viewsolution/18621346
Your code fails for this one
1
2 4
Your code gives
1 6
whereas each output number should be between 1 and 4
Thank you very much sir…
Thank you sir…
welcome
Your code fails for this one
1
2 4
Your code gives
1 6
whereas each output number should be between 1 and 4
Thank you very much sir…
Thank you sir…
welcome