結果

問題 No.3261 yiwiy9 → yiwiY9
ユーザー hibit_at
提出日時 2025-09-06 13:54:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 263 bytes
コンパイル時間 457 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2025-09-06 13:55:14
合計ジャッジ時間 2,587 ms
ジャッジサーバーID
(参考情報)
judge / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

h,w = list(map(int, input().split(' ')))
for _ in range(h):
    s = input()
    s = s.replace('yiwiy9','A')
    s = s.replace('9yiwiy','B')
    # print(f'{s=}')
    s = s.replace('A','yiwiY9')
    s = s.replace('B','9Yiwiy')
    # print(f'{s=}')
    print(s)
    
0