結果
| 問題 | No.82 市松模様 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-12-10 21:20:51 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 193 bytes |
| 記録 | |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 77,692 KB |
| 最終ジャッジ日時 | 2025-12-03 13:22:48 |
|
ジャッジサーバーID (参考情報) |
judge3 / 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]