https://codeforces.me/blog/entry/129992 in this editorial , the editorial of c, what if the no bad exist, like n = 2, m=2; a == (3 3 5 5 1) b == (5 5 3 3 2) i will not consider the 1,2 as it is at the m+n+1 index so before that no bad exist, am i wrong ?
Auto comment: topic has been updated by ganbarearyan45 (previous revision, new revision, compare).
The last candidate is either a good programmer or a good tester. But it doesnt matter because the position he will be hired will depend on the candidate we are excluding. So the case which you mentioned we can regard the last candidate as bad