Edges From Degree Sum

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

Given sum of degrees S, compute number of edges E.

Input Format

One even integer S.

Output Format

One integer E.

Sample Test Case

Input:
14
Output:
7

Constraints

S even

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next