結果

問題 No.82 市松模様
ユーザー iad_2889iad_2889
提出日時 2019-05-04 18:57:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 309 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 8,000 KB
最終ジャッジ日時 2023-09-05 09:16:55
合計ジャッジ時間 1,124 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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