結果
問題 | No.82 市松模様 |
ユーザー |
![]() |
提出日時 | 2019-09-20 16:08:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 292 bytes |
コンパイル時間 | 525 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-14 06:48:23 |
合計ジャッジ時間 | 1,116 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 7 |
ソースコード
a=input().split()a[2]="W"for i in range(int(a[0])):for j in range(int(a[1])):if (i%2==0) and (j%2==0):print(a[2],end="")elif (i%2==1) and (j%2==1):print(a[2],end="")else:print("B",end="")print()