ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1320. Graph Decomposition

a simple test
Posted by Briana Banks 24 Mar 2014 18:52
input

5 4
4 2
2 1
1 3
3 4

I think output should "1" but most of my colleagues' accepted programs print "0". Do I misunderstand the problem ?
Re: a simple test
Posted by ER 4 Aug 2014 10:42
This is not valid input because the graph has to have an even number of edges.