USC ICPC Practice: DP again

Standings

Solved Attempted Pending judgement