Battle of Winterfell - Doubt


#1

IM aint asking any answers just a doubt
Is the output for the this problem https://www.codechef.com/COON2019/problems/CDRN02 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.


#2

I think there is some problem in question @admin please clarify it.


#3

there is some problem in test cases giving correct for wrong answers.