Page not loading? Try clicking here.
Placeholder

#4880

속이 빈 사각형 1s 128MB

Problems

정수를 입력받아 입력받은 숫자만큼의 크기의 정사각형을 아래와 같이 그려라.

Input

첫 행에 N이 주어진다.

( 1 <= N <= 10)


Example #1

1
*

Example #2

2
**

**

Example #3

3
***

* *
***

Example #4

4
****

* *
* *
****

Source

JUNGOL - klee

You must sign in to write code.