3248 - Game of Connections   

Description

 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2424

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss