Wrong expected output for custom case


#1

The website says expected output for the following input is 10
5 8 7 4 6 5
5 62 34 57 8 23
7 23 46 56 73 47 34 15
Shouldn’t it be 7 for a=8, b=8, c=15?


#2

Answer is 7 but you are giving the unsorted arrays as the input.Sort all arrays and feed as the input then it gives answer as 7.