#P3582. Min Plus Convolution (Convex and Convex)

Min Plus Convolution (Convex and Convex)

4 5
3 1 0 3
5 2 1 1 4
8 5 3 2 1 1 4 7