Comment

avatar username

Even though I didn't solve the problem nor read the editorial, the last two elves (m=0 case) does not need to be same health, for example:

h[i] = 10, h[j] = 15

a[i] = 20 (because other elves attacked this elf before), h[j] = 15

Then both elves would die at the same operation

The actual rating of this user is 1545.

Original comment.

Statistics