Sponsored
Sponsored
Solve with full IDE support and test cases
Use these hints if you're stuck. Try solving on your own first.
Consider changing the number to the way it is described in the statement.
Check if the resulting number contains all the digits from 1 to 9 exactly once.