結果
| 問題 |
No.82 市松模様
|
| コンテスト | |
| ユーザー |
StarMatyan
|
| 提出日時 | 2020-11-24 19:33:45 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 342 bytes |
| コンパイル時間 | 197 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-23 18:46:47 |
| 合計ジャッジ時間 | 923 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 5 WA * 2 |
ソースコード
strinter = input()
strs = strinter.split(" ")
w_len= int(strs[0])
h_len= int(strs[1])
coler_s =strs[2]
data= ""
counter=1
for hei_t in range(h_len):
for wei_t in range(w_len):
if counter%2 ==1:
data=data + coler_s
else:
if coler_s == "W":
data=data + "B"
else:
data=data + "W"
counter=counter+1
print(data)
data=""
StarMatyan