IM aint asking any answers just a doubt
Is the output for the this problem CodeChef: Practical coding for everyone matches for the test case ?? .
INPUT
2
4 4 2 3
5 4 3 1
OUTPUT
4
8
PS : it would be better if the problem setter does provide another example test cant really understand with one test case.