Space Jazz

This problem: https://saco-evaluator.org.za/cms/sapo2015z/tasks/jazz/description
USACO Guide Sol: https://usaco.guide/gold/dp-ranges?lang=java#tutorial

I know this is range DP, but what is the DP state of the solution?

Isn’t it described in the code?

What does “to get jazz” mean? Like the min insertions to get a good range?

yes