結果
| 問題 | No.3261 yiwiy9 → yiwiY9 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-06-20 12:55:47 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 215 bytes |
| 記録 | |
| コンパイル時間 | 1,280 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-06-20 12:55:57 |
| 合計ジャッジ時間 | 10,360 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 21 |
ソースコード
h,w = map(int,input().split())
for i in range(h):
che = input()
if 'y9' in che:
print(che.replace('y9','Y9'))
elif '9y' in che:
print(che.replace('9y','9Y'))
else:
print(che)