結果
| 問題 |
No.3261 yiwiy9 → yiwiY9
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-14 22:52:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 298 bytes |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 82,156 KB |
| 実行使用メモリ | 55,200 KB |
| 最終ジャッジ日時 | 2025-11-14 22:52:32 |
| 合計ジャッジ時間 | 2,361 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 17 |
ソースコード
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
h, w = map(int, input().split())
for _ in range(h):
s = input()
s = s.replace('yiwiy9', 'yiwiY9')
s = s.replace('9yiwiy', '9Yiwiy')
print(s)
if __name__ == "__main__":
main()