Expected output matches in Custom test, but shows Runtime Error in Test


#1

For the input: A : [ [23, 17] [28, 13] [17, 5] [13, 11] [20, 21] [3, 15] [27, 20] [16, 16]]
I get 17 30 30 30 51 51 71 87 in custom test, which is in fact the expected output,
but the same case shows as runtime error in Test evaluation.
( I have also run the same code in VS Code as it runs fine.)
Please help.


#2

Same issue with my code !