Graph Handshaking Lemma
Computer Mathematics
Easy
2 views
Problem Description
Given degrees of all vertices, print YES if sum of degrees is even.
Input Format
n then n degrees.
Official Solution
In any graph, sum of degrees = 2E, must be even. Check sum%2==0.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!