in reply to Re: Golf for unique digits
in thread Golf for unique digits
as a compensation a new approach: =)
> perl -ple'$_=join"",sort split//;y///cs;$_=length' 1987 4 1988 3 2012 3 2013 4
EDIT: shortened the say away...
Cheers Rolf
|
---|
In Section
Seekers of Perl Wisdom