結果
問題 |
No.82 市松模様
|
ユーザー |
|
提出日時 | 2022-05-22 19:53:41 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 246 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 63,488 KB |
最終ジャッジ日時 | 2024-09-20 12:51:09 |
合計ジャッジ時間 | 1,119 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 1 WA * 6 |
ソースコード
H,W,C = input().split() H = int(H) W = int(W) if C == "B": D = "W" else: D = "B" for i in range(H): for j in range(W): if (i + j) % 2 == 0: print(C,end = "") else: print(D,end = "") print()