[Jprogramming] code golf

June Kim (김창준) juneaftn at gmail.com
Tue Oct 29 02:17:03 UTC 2013


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


More information about the Programming mailing list