Medina's blog

By Medina, 13 years ago, In Russian

Good evening, everyone! I'm trying to solve this problem from gym, but I have WA 10. I think my idea is wrong. I used Bipartite Controlling Set. If anyone knows the solution, please help me :( http://codeforces.me/gym/100030

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

»
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it

It's wrong solution.

Test:

6
1 2
2 3
3 4
4 5
5 6

Answer:

0 1 0 0 1 0