Comments

I didn't get the dp logic for div2 E , can anyone please explain it to me...TYSM :)