結果
問題 | No.82 市松模様 |
ユーザー |
|
提出日時 | 2014-12-10 21:20:51 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 193 bytes |
コンパイル時間 | 264 ms |
コンパイル使用メモリ | 7,168 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-11 20:32:41 |
合計ジャッジ時間 | 767 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 7 |
ソースコード
W,H,C = raw_input().split()W,H = int(W),int(H)C += "B" if C == "W" else "W"A = [[C]*(W/2+1) for h in range(H)]for h in range(H):print A[:W] if h%0 == 0 else A[1:W+1]