in reply to YAGG (Yet Another Golf Game)
This solution comes in at 89 characters:
Could you clarify the exact output format that the code should produce?@h=0;print map(rand>.5?++$H&&++$h[-1]&&H:++$#h&&$",a..gr),$/, join('|',grep$_,@h),$/,$H,$/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: YAGG (Yet Another Golf Game)
by Necos (Friar) on Feb 13, 2002 at 21:14 UTC |
In Section
Meditations