Skip to content

Instantly share code, notes, and snippets.

@Leko
Created December 17, 2012 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Leko/4319165 to your computer and use it in GitHub Desktop.
Save Leko/4319165 to your computer and use it in GitHub Desktop.
CodeIQというサイトのコードゴルフで17位だったコードです。 妥協が速すぎた。次はもっと粘りたい。
r="";for(y=-1;++y<40;r+="\n")for(x=0;x<80;a=40-x++,b=40-y*2,r+=a*a+b*b<900?"*":"-");return r;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment