結果
| 問題 |
No.3261 yiwiy9 → yiwiY9
|
| コンテスト | |
| ユーザー |
aketijyuuzou
|
| 提出日時 | 2025-09-06 13:30:51 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 1,154 bytes |
| コンパイル時間 | 7,813 ms |
| コンパイル使用メモリ | 169,676 KB |
| 実行使用メモリ | 186,776 KB |
| 最終ジャッジ日時 | 2025-09-06 13:31:04 |
| 合計ジャッジ時間 | 10,476 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 17 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (110 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static string InputPattern = "InputX";
static List<string> GetInputList()
{
var WillReturn = new List<string>();
if (InputPattern == "Input1") {
WillReturn.Add("2 8");
WillReturn.Add("..yiwiy9");
WillReturn.Add("9yiwiy..");
//..yiwiY9
//9Yiwiy..
}
else {
string wkStr;
while ((wkStr = Console.ReadLine()) != null) WillReturn.Add(wkStr);
}
return WillReturn;
}
static long[] GetSplitArr(string pStr)
{
return (pStr == "" ? new string[0] : pStr.Split(' ')).Select(pX => long.Parse(pX)).ToArray();
}
static void Main()
{
List<string> InputList = GetInputList();
//long[] wkArr = GetSplitArr(InputList[0]);
foreach (string EachStr in InputList.Skip(1)) {
string CurrStr = EachStr;
CurrStr = CurrStr.Replace("yiwiy9", "yiwiY9");
CurrStr = CurrStr.Replace("9yiwiy", "9Yiwiy");
Console.WriteLine(CurrStr);
}
}
}
aketijyuuzou