Count Functions
Computer Mathematics
Medium
2 views
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).
Official Solution
Each of n elements chooses one of m values, so m^n. Output as text m^n if large.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!