Bipartite Complete Edges

Bipartite Complete Edges

Easy Computer Mathematics Graph Theory Basics 32 views
Explanation Complexity

Problem Statement

In complete bipartite K(a,b), how many edges?

Input Format

Two integers a b.

Output Format

One integer.

Example

3 4
12

Constraints

a,b>=0

Input / Output Format

Input Format
Two integers a b.
Output Format
One integer.
Constraints
a,b>=0

Examples

Input:
3 4
Output:
12

Example Solution (Public)

Computer Mathematics
Edges = a*b.

Official Solution Code

Edges = a*b.
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.