시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 256 MB | 46 | 25 | 19 | 54.286% |
Construct an $N \times N$ grid with the following conditions:
O
' or '.
'.O
'..
'.There is no input.
The first line should contain an integer $N$. The following $N$ lines should contain $N$ characters each ('O
' or '.
'), and these $N$ lines describe the grid.
5 ..... ..... ..OOO ...O. ..O..
Output for this example satisfies all conditions but the third (number of 'O
' in the grid).
Camp > Petrozavodsk Programming Camp > Summer 2016 > Day 9: Grand Prix of Japan G번
Contest > Open Cup > 2016/2017 Season > Stage 1: Grand Prix of Japan G번