結果

問題 No.82 市松模様
ユーザー yohei-ku
提出日時 2018-03-14 21:41:19
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 219 bytes
コンパイル時間 995 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,144 KB
最終ジャッジ日時 2024-11-29 13:01:13
合計ジャッジ時間 1,405 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

first = raw_input()
split_first = first.split()
W = int(split_first[0])
H = int(split_first[0])
C = split_first[2]

if C == "B":
    A = "BW"*50

if C == "W":
    A = "WB"*50
    
for i in range(0,H):
    print A[i:i+W]
0