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: Edges and More Edges
Description What is the maximum number of edges in an undirected graph G of Input The input contains several test cases. Output For each test case output the maximum number of edges. Sample Input 1000 1 500 2 0 0 Sample Output 0 499 Source |

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

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

Any problem, Please Contact Administrator