Can anyone tell me the dp transitions for this problem ? Even after seeing the editorial I am not able to code.
Unable to solve Atcoder ABC237 Problem F
Can anyone tell me the dp transitions for this problem ? Even after seeing the editorial I am not able to code.