Scacchiera
Dato un intero n
(1 ≤ n ≤ 100), ti viene richiesto di stampare una scacchiera di dimensione .
b
dovrebbe rappresentare i campi neri e w
dovrebbe rappresentare quelli bianchi.
Input | Output |
---|---|
4 | wbwb bwbw wbwb bwbw |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB