Page not loading? Try clicking here.
Placeholder

#5185

모래시계 1 1s 4MB

Problems

정수 N을 입력받아 N 크기의 모래시계를 출력하는 프로그램을 작성하시오.

Input

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


Example #1

3
*****

* *
* *
* *
*****

Example #2

4
*******

* *
* *
* *
* *
* *
*******


Source

JUNGOL - klee
You must sign in to write code.