Comments
On Saul_Goodman_ → Help !!, 5 years ago
0

It's because your condition is correct but not enough. For ex A — > 6 5 7 4 8 B — > 5 11 13 8 9 Consider the 1st person, your code will flag it as 0 which is incorrect as there's a way through which 1 can win. (1 can beat 2 in A) (2 can beat 5 in B) (5 can beat everyone else in A) The point is a person need not directly defeat the strongest in other map but it can defeat someone who is capable of doing that.