結果
| 問題 | No.82 市松模様 |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-12-03 08:18:06 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 5,000 ms |
| + 932µs | |
| コード長 | 149 bytes |
| 記録 | |
| コンパイル時間 | 93 ms |
| コンパイル使用メモリ | 64,256 KB |
| 実行使用メモリ | 58,452 KB |
| 最終ジャッジ日時 | 2026-11-21 01:40:21 |
| 合計ジャッジ時間 | 1,866 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 |
ソースコード
res = ["W","B"]
s = input().split()
w,h = int(s[0]), int(s[1])
x = s[2]=="B"
for i in range(h):
print("".join(res[(i+j+x)%2] for j in range(w)))
convexineq