Count Functions

Computer Mathematics Medium 2 views
Back to Questions

Problem Description

How many functions from set of size n to set of size m?

Input Format

Two integers n m.

Output Format

One integer (may be huge, output as power form).

Sample Test Case

Input:
3 2
Output:
2^3

Constraints

n,m

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next