結果
| 問題 |
No.3261 yiwiy9 → yiwiY9
|
| コンテスト | |
| ユーザー |
aketijyuuzou
|
| 提出日時 | 2025-09-06 15:14:49 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 1,298 bytes |
| コンパイル時間 | 14,118 ms |
| コンパイル使用メモリ | 171,208 KB |
| 実行使用メモリ | 185,696 KB |
| 最終ジャッジ日時 | 2025-09-06 15:15:06 |
| 合計ジャッジ時間 | 16,189 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 17 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (105 ミリ秒)。 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();
for (int I = 1; I <= InputList.Count - 1; I++) {
string CurrStr = InputList[I];
CurrStr = CurrStr.Replace("9yiwiy", "B");
CurrStr = CurrStr.Replace("yiwiy9", "A");
CurrStr = CurrStr.Replace("A", "yiwiY9");
CurrStr = CurrStr.Replace("B", "9Yiwiy");
Console.Write(CurrStr);
if (I < InputList.Count - 1) {
Console.WriteLine();
}
}
}
}
aketijyuuzou