結果

問題 No.82 市松模様
ユーザー akitsugu777akitsugu777
提出日時 2019-09-19 11:10:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 10,756 KB
実行使用メモリ 8,024 KB
最終ジャッジ日時 2023-09-25 19:10:44
合計ジャッジ時間 949 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,808 KB
testcase_01 AC 16 ms
7,984 KB
testcase_02 AC 16 ms
7,820 KB
testcase_03 AC 16 ms
7,884 KB
testcase_04 AC 15 ms
7,884 KB
testcase_05 AC 15 ms
7,808 KB
testcase_06 AC 15 ms
7,904 KB
testcase_07 AC 15 ms
7,904 KB
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

W, H, C = input().split()

s = 'BW' * 26
W = int(W)
H = int(H)
x = [0, 1][C == 'W']

for i in range(H):
    print(s[i+x:][:W])
0