diff options
author | Anthony Wang | 2021-01-03 21:34:15 -0600 |
---|---|---|
committer | Anthony Wang | 2021-01-03 21:34:15 -0600 |
commit | 7ba20dd07ce92970e4b69db6f2d30ac0cec3451b (patch) | |
tree | 116226faa2b0376386375599d3500a1918bc50d4 /atcoder.md | |
parent | 9e363ffc6f75136be848d33deaddf7528a961f6f (diff) |
agc049_d
Diffstat (limited to 'atcoder.md')
-rw-r--r-- | atcoder.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -189,3 +189,5 @@ - agc049_c: Consider what input looks like when answer is 0 - agc050_c: Formulate the optimal strategy so it is easy to DP with it + +- agc049_d: First use structure of convex sequence and fix index of minimum, then a bit like knapsack DP where transitions correspond to adding 1, 2, 3 ... to a suffix or prefix of the sequence, so it's adding 1, 3, 6, ... to the sum, reuse DP between different indexes of the minimum |