Chessboard
Given an integer
n
(1 ≤ n ≤ 100), you are asked to print out a chessboard of size
. b
should represent the black fields and w
should represent the white ones.Input | Output |
4 | wbwb
bwbw
wbwb
bwbw |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB