結果
| 問題 |
No.3261 yiwiy9 → yiwiY9
|
| コンテスト | |
| ユーザー |
kidodesu
|
| 提出日時 | 2025-09-06 13:59:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 300 bytes |
| コンパイル時間 | 608 ms |
| コンパイル使用メモリ | 82,516 KB |
| 実行使用メモリ | 69,796 KB |
| 最終ジャッジ日時 | 2025-09-06 13:59:36 |
| 合計ジャッジ時間 | 3,333 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 8 RE * 16 |
ソースコード
h, w = map(int, input().split())
S = [[s for s in input()] for _ in range(h)]
for y in range(h):
for x in range(w):
if S[y][x] == "9":
for nx in (x-1, x+1):
if 0 <= nx < w:
S[y][nx] = chr(ord(S[y][nx])-32)
for y in S:
print("".join(y))
kidodesu