Min Plus Convolution (Concave and Arbitrary)

2 secs 1024 MB
ecottea's icon ecottea

2_small_04.txt


入力

出力