Problem : https://codeforces.net/problemset/problem/1040/B
Solution : https://codeforces.net/contest/1040/submission/91739502
It is mentioned in the problem statement that to test case 2 answer 2 5 is also correct but the jury is saying it wrong. Why is it so? Can someone help?