I was too lost in the logic
1 Like
Really GREAT!!!
Can any one explain why the 3N logic actually work?
i am getting parital ac and i had not considered special case so i had put that condition but am still getting partial.ac
https://www.codechef.com/viewsolution/32019607
can someone help.
Consider the test input:
1
3 81
147 734 372
2 Likes