Counting Numbers
Background
For this problem, you will be given some text containing, among other
things, numeric digits. Your program is to determine if all ten digits
(0 -9) have been seen. When all of the possible digits have been seen,
your program should stop, and print how many digits were examined before
all possible digits were seen. If end-of-file is encountered before all
of the digits, print the message: Saw END OF FILE before all digits.
Input Specification
The input file COUNT.INPUT can contain any ASCII character.
Output Specification
One integer or , Saw END OF FILE before all digits.
Sample Input
1 fine day 2 turtles were walking with their 3 friends when they
saw a dog looking 4 5 flowers. Each flower had 6 petals, there were
7 but something 8 1, so they did 90 dances.
Sample Output
11
I don't know what contest this problem is from. The sheet is not labeled.