_MASTER__'s blog

By _MASTER__, history, 22 months ago, In English

link of the problem : https://mirror.codeforces.com/gym/104030/problem/B

wrong answer on test 4: the test is : 6 1 2 6 5 5 2 3 4 4 2 my code: https://ideone.com/0LtE25 my output: (there might be multiple answers) YES 5 6 2 1 4 3

judge answer: YES 2 4 5 1 3 6

as far as I can see , is that my solution is also accepted no? if no please why. THANK YOU!

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
22 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Test case 4 is actually

4
1 3
4 2
2 3

There is an answer, but you output NO