結果

問題 No.82 市松模様
ユーザー compass19
提出日時 2016-12-31 00:58:54
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-16 04:19:54
合計ジャッジ時間 1,024 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

W, H, C = input().split()
W, H, C = int(W), int(H), [0, 1][C == 'W']
res = [('BW'*W)[C+r%2:C+r%2+W] for r in range(H)]
print('\n'.join(res))
0