Блог пользователя ayushrocker92

Автор ayushrocker92, 9 лет назад, По-английски

I was tring to solve this problem. and my solution is this. Am getting WA .I applied bipartite maximum matching on the graph .

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

»
9 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

First you're getting Wrong Answer because the problems says: "The input contains several cases." and you only ask for a simple test case. I also found this case and the correct answer for this case is 0 not 1.