Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: Edge Pairing
Description Given a simple connected undirected graph with Input The input contains exactly one test cases. On the first line of the test case there are two integers Output If a pairing exists, output it in Sample Input 7 10 1 2 1 3 2 4 3 4 4 5 4 6 5 7 6 7 2 5 3 6 Sample Output 1 2 4 1 3 4 4 5 2 4 6 3 5 7 6 Hint Illustration of the sample test case: Source |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator