Module problem_0877

Source

Modulesยง

dp
f(i, j) represents: when starting with piles[i..=j], the one who starts first will get f(i, j) more than the other one.