Revision d64423f2-37fe-47b5-b986-a49a5954520b - Code Golf Stack Exchange

#Perl, <strike>70</strike> 69 characters

 $"=",";@a=A..M;$i.="{@a}"x++$x." "for@a;!/(.)1円{3}/&&say while glob$i
Usage:

 $ perl -E 'code' > output_file

I've only been able to test the code with the `A..F` range, but with enough time and resources the same code should be applicable from A to M.

Interestingly, the `<>` form of the `glob` operator refuses to work on my machine, else I could have saved 3 characters.

AltStyle によって変換されたページ (->オリジナル) /