Page not loading? Try clicking here.
Placeholder

#5184

속이 빈 마름모 1s 4MB

Problems

정수 N을 입력받아 N크기의 속이 빈 마름모를 출력하는 프로그램을 작성하시오.


Input

첫 줄에 정수 N이 입력된다. (2 <= N <= 100)


Example #1

3
  *

* *
* *
* *
*

Example #2

4
   *

* *
* *
* *
* *
* *
*

Example #3

2
 *

* *
*


Source

JUNGOL - klee

You must sign in to write code.