rendered paste bodyusing System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Start");
String quest = "2.3.4 3.4.4 1.5.4 1.2.4 :// 4.4.5 1.5.2 2.1.1 2.5.1 . 1.2.7 1.1.3 / 4.1.3 4.3.5 4.1.9 2.3.3 1.1.3 4.4.1 2.2.1 1.5.2 3.1.3 4.2.1 1.4.2 3.5.5 4.5.2 / 4.3.2 3.1.5 3.4.4 1.2.9 2.3.1 4.3.3 5.1.2 5.1.3 3.5.2 1.3.2 4.5.5 4.5.2 / 2.1.1 2.1.2 5.4.5 4.2.5 2.4.2 3.1.1 5.1.3 1.1.2 4.1.3 4.4.1 2.2.1 4.1.4 3.1.1 5.1.3 5.3.4 4.5.7 1.3.1 3.3.5 / 2.3.3 3.4.4 1.2.3 3.4.4 2.4.6 1.5.2 1.5.2 3.1.5 3.1.6 3.4.2 5.3.1 2.1.1 2.3.4 5.1.2 4.3.4 5.2.2 5.1.4 5.3.6 3.3.2 4.5.6 3.3.2 4.5.6 3.3.2 / 5.3.1 4.2.2 4.3.3 5.2.1 1.2.3 2.3.4 . 2.4.6 3.4.4 4.4.5 4.1.1";
String[,] answers = new String[5,5];
answers[0,0] = "board";
answers[0,1] = "saspraude";
answers[0,2] = "2219222";
answers[0,3] = "1192";
answers[0,4] = "west";
answers[1,0] = "The Delta Force";
answers[1,1] = "Vergès";
answers[1,2] = "Reih";
answers[1,3] = "jewish";
answers[1,4] = "acta non verba";
answers[2,0] = "second";
answers[2,1] = "51251-99";
answers[2,2] = "17061";
answers[2,3] = "post";
answers[2,4] = "16049";
answers[3,0] = "Liverpool";
answers[3,1] = "Disable";
answers[3,2] = "lingo";
answers[3,3] = "Kademlia";
answers[3,4] = "4321878";
answers[4,0] = "";
answers[4,1] = "";
answers[4,2] = "";
answers[4,3] = "";
answers[4,4] = "";
String tmp;
for (int x = 0; x < 5; x++ )
{
for (int y = 0; y < 5; y++ )
{
for (int z = 0 ; z < answers[x,y].Length; z++)
{
tmp = String.Format("{0}.{1}.{2}",x+1,y+1,z+1);
String value = String.Format("{0}", (answers[x, y][z]));
quest = quest.Replace(tmp,value);
}
}
}
quest = quest.Replace(" ", "");
Console.WriteLine(quest);
}
}
}