#!ruby -pl n,s=0 s="%X#{gsub(/\S\b/){n+=$&.hex p} t=s}".%n%10+1until~0>n=n/10-1 $_=t
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page