Comments

In the solution for E-Arena given in the editorial, I didn't understand why dp[n][0] = 1;

which is that case where all n heroes are alive and each of them has dealt 0 damage?