MeetCode
Bipartite Complete Edges
C
C++
Computer Mathematics
CSS
DSA
HTML
Java
JavaScript
NodeJS
PHP
Programming Interview
Python
ReactJS
SQL
Run
Submit
Dark
Problem Statement
Solutions
Submissions
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
Input
3 4
Output
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
Wrap
Copy
Edges = a*b.
Please
login
to submit solutions.
Editor
C
C++
Computer Mathematics
CSS
DSA
HTML
Java
JavaScript
NodeJS
PHP
Programming Interview
Python
ReactJS
SQL
Test Cases
Output
Submission Result
Input
3 4
Expected Output
12
Compile Output
Error
Output
Please
login
to submit solutions.