rmq算法,有详细注释 dp1[i][j] = max ( dp1[i][j-1] , dp1[i+(1