시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 1024 MB | 207 | 137 | 125 | 64.767% |
The free-range chickens are out of control, and it is time to build a pen for them. You need to draw the smallest square pen that is large enough to hold all the chickens.
The first line will have a positive integer that denotes the number of chickens.
A drawing of the smallest square pen that is large enough to hold all the chickens. The symbol ‘x’ will denote the perimeter of the fence, and a ‘.’ will denote a space for chickens inside the pen.
1
xxx x.x xxx
5
xxxxx x...x x...x x...x xxxxx
High School > PLU High School Programming Contest > PLU 2017 > Novice 10번