in reply to How many different varieties (color, size, etc) of socks do you have in your sock drawer?

I roll them in pairs, so the problem appears in evenings, not mornings.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
  • Comment on Re: How many different varieties (color, size, etc) of socks do you have in your sock drawer?
  • Download Code