Missed the base case (all the time )
.
1*1 case costed me 100 points.
guys i have tried explaining but went really fast, so first read the question and then watch(if you still dont get it) (0.00 sec solution)
English Explanation
Hindi Explaination
best explanation
I am getting correct outputs during dry run but shows WA when I submit it. Can you please tell me what’s wrong.
https://www.codechef.com/viewsolution/36019737
This submission gets ac : CodeChef: Practical coding for everyone
But This doesnt get ac: CodeChef: Practical coding for everyone
The question clearly says sum cant be greater than y, Then how is the second one not ac
The minimum of x and y should have gotten ac, if(x>y) then answer is y or else x, But Second link gives WA
pls correct me if i am wrong
yeah same with me. In luchtime also just because of a base case my solution wasn’t accepted. 
Is there a way we can see the test case used during the contest? This problem gave me a hard time, haha.
When n==m==1 then answer is always x, you should use all you can because it has no adjacent pairs
nice editorials
@tengiz05, you just made me realize why my code wasn’t working.
I was outputting the minimum of (y, x) for n == m == 1.
Sorry it can’t be make public I guess.
Very noice editorial
3 3 20 19