Union Training II - Dynamic Programming

A: 雷神之路