Different numbers
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program should read a three-digit integer N from the console. It should output YES if all the digits of N are distinct, and NO if any digits are repeated.
Input
A three-digit integer N.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 14K
Acceptance rate 34%