結果
| 問題 |
No.3261 yiwiy9 → yiwiY9
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-15 15:11:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 339 bytes |
| コンパイル時間 | 279 ms |
| コンパイル使用メモリ | 82,100 KB |
| 実行使用メモリ | 78,848 KB |
| 最終ジャッジ日時 | 2025-09-15 15:11:07 |
| 合計ジャッジ時間 | 3,166 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 17 |
ソースコード
H, W = map(int, input().split())
S = [list(input()) for _ in range(H)]
for i in range(H):
for j in range(W):
A = S[i][j : (j + 6)]
if "".join(A) == "yiwiy9":
S[i][j + 4] = S[i][j + 4].upper()
if "".join(A) == "9yiwiy":
S[i][j + 1] = S[i][j + 1].upper()
for s in S:
print(*s, sep="")