結果

問題 No.82 市松模様
ユーザー matrie
提出日時 2020-11-25 23:46:49
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-23 19:33:28
合計ジャッジ時間 910 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 4 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

w,h,s = input().split()
l = ''

#print(ord('B'),ord('W'))

for i in range(int(h)):
	for j in range(int(w)):
		l += s
		s = chr(153 - ord(s))
	print(l)
	l = ''
	s = chr(153 - ord(s))
0