Three-digit number
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given a three-digit integer, your task is to rearrange its digits to form the smallest possible three-digit number.
Input
A single three-digit integer.
Output
The smallest three-digit number that can be formed by rearranging the digits of the input integer.
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 15%