結果
| 問題 |
No.82 市松模様
|
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2016-12-31 00:59:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 5,000 ms |
| コード長 | 144 bytes |
| コンパイル時間 | 215 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-12-16 04:20:01 |
| 合計ジャッジ時間 | 1,031 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
W, H, C = input().split()
W, H, C = int(W), int(H), [0, 1][C == 'W']
res = [('BW'*(W+1))[C+r%2:C+r%2+W] for r in range(H)]
print('\n'.join(res))
compass19