АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

913. Numbers with different digits

Time Limit: 1 seconds
Memory Limit:65536KB
Points:2
View Problem Statistics Submit Problem added Undefined

Дано некоторое количество целых чисел. Каждое число лежит в интервале от 0 до 2 миллиардов. Числа отделяются друг от друга пробелами и/или переводами строк.
В ответе выведите через пробел эти же числа, но оставив только те из них, в которых все цифры различны

Пример входных данных:
12 242 3 88

Пример результата:
12 3

View Problem Statistics Submit Author/source:
Educational Courses / Programming and Basics of Algorithmization / Others /
55. Marks 913. 58. One Step to QuickSort 56. Remove Numbers 57. Same Numbers
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.015 sec.
© Copyright VSTU, AVT, Nosov D.A.