#P3583. Min Plus Convolution (Concave and Arbitrary)

Min Plus Convolution (Concave and Arbitrary)

4 5
0 2 3 1
5 1 3 3 2
5 1 3 3 2 4 4 3