結果
| 問題 | 
                            No.3261 yiwiy9 → yiwiY9
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2025-09-06 13:03:38 | 
| 言語 | C#  (.NET 8.0.404)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 624 bytes | 
| コンパイル時間 | 8,898 ms | 
| コンパイル使用メモリ | 171,192 KB | 
| 実行使用メモリ | 191,612 KB | 
| 最終ジャッジ日時 | 2025-09-06 13:04:18 | 
| 合計ジャッジ時間 | 12,175 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 WA * 17 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (113 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
#nullable enable
#region
using System.Text.RegularExpressions;
var _input = Array.Empty<string>();
var _iter = 0;
string String()
{
    while (_iter >= _input.Length) (_input, _iter) = (Console.ReadLine()!.Split(' '), 0);
    return _input[_iter++];
}
T I<T>() where T : IParsable<T> => T.Parse(String(), null);
#endregion
var ans = new List<string>();
var h = I<int>();
var w = I<int>();
for (var i = 0; i < h; i++)
{
    var str = String();
    str = Regex.Replace(str, "yiwiy9", "yiwiY9");
    str = Regex.Replace(str, "9yiwiy", "9Yiwiy");
    ans.Add(str);
}
Console.WriteLine(string.Join(Environment.NewLine, ans));