結果

問題 No.82 市松模様
ユーザー iad_2889iad_2889
提出日時 2019-05-04 18:57:34
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 309 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-23 05:09:28
合計ジャッジ時間 1,126 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 5 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

def checkerd(first):
    current = ord(first)
    while True:
        yield chr(current)
        current^=21

W,H,C = input().split()
W,H = map(int,[W,H])
pattern = checkerd(C)
checkerd_pattern = ["".join([pattern.__next__() for x in range(W)]) for y in range(H)]
for line in checkerd_pattern:
    print(line)
0