|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^2: Counting positive numbersby Corion (Pope) |
| on Jul 05, 2010 at 12:18 UTC ( #848053=note: print w/ replies, xml ) | Need Help?? |
|
The number of inputs will be given as the first input. This is why the first number needs to be skipped. And seemingly, that number counts itself as the input as well, if we assume the example to be correct. I'm not sure what the program is supposed to do with input that goes beyond the announced number of lines.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||