Category
Similar Problems
0761. Mobile Phone
Time limit : 1000 ms
Memory limit : 64 mb
Mobile phone number is set. Define, what digits are absent in this number.
Input
In a unique line set mobile phone number. It is not empty and not more than 100000 digits.
Output
In the first line deduce quantity of digits absent in number. In the second line in ascending order deduce the absent digits parted by a blank.
Samples
№ |
Input |
Output |
1 |
0631562976 |
2 4 8 |
Text from: e-olimp.com