Skip to content

Instantly share code, notes, and snippets.

@sangheonhan
Created January 11, 2019 07:09
Show Gist options
  • Save sangheonhan/1938e1bda02cc720f1d6ebe505898fde to your computer and use it in GitHub Desktop.
Save sangheonhan/1938e1bda02cc720f1d6ebe505898fde to your computer and use it in GitHub Desktop.
DEVON 2013 텍스트큐브 부스에서 낸 마름모꼴을 그리는 문제 풀이. 조건은 소스 코드가 150 자(byte) 이내여야 한다.
$_="5
5
41
33
25
0070
25
33
41
5
5
";s/(\d)/' 'x$1.'*'/ge;print
*
*
* *
* *
* *
** **
* *
* *
* *
*
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment