What does the ll mean?  I was trying to count the characters in the expression.

   #":'4+5=9'
 11 
   ' *'{~4=+/~ 4<.|i:5
     *     
     *     
    * *    
   *   *   
  *     *  
**       **
  *     *  
   *   *   
    * *    
     *     
     *     
   #":' *'{~4=+/~ 4<.|i:5
11


Also:

   #' *'{~4=+/~4<.|i:5
11
   
Linda
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Marshall Lochbaum
Sent: Monday, October 28, 2013 10:30 PM
To: [email protected]
Subject: Re: [Jprogramming] code golf

Here's 18:

   '_*'{~4=+/~4<.|i:5
_____*_____
_____*_____
____*_*____
___*___*___
__*_____*__
**_______**
__*_____*__
___*___*___
____*_*____
_____*_____
_____*_____
   # '''_*''{~4=+/~4<.|i:5'
18

Marshall

On Tue, Oct 29, 2013 at 11:17:03AM +0900, June Kim (김창준) wrote:
> There was a large developers conference last weekend in Seoul. The 
> estimated attendants were about 2000.
> 
> In the open booth hall, they held a code golf contest. The problem is 
> write a program that produces(replace _ with blank):
> 
> _____*_____
> _____*_____
> ____*_*____
> ___*___*___
> __*_____*__
> **_______**
> __*_____*__
> ___*___*___
> ____*_*____
> _____*_____
> _____*_____
> 
> There is no language restriction. If it's under 150 bytes, you get a 
> latte and tumbler. There is also a score board that shows top N 
> solutions' code sizes.
> 
> As I remember the first was 73 bytes. He used shell script and gzipped 
> the output and appended it to the script.
> 
> I did it in 30 bytes in J but did'nt participate the contest.
> 
> What about you?
> 
> sent from an android phone
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to