static void Main() { int vyska = int.Parse(Console.ReadLine()); int sirka = int.Parse(Console.ReadLine()); char[,] tabulka = new char[sirka, vyska]; Reader.ReadTable(tabulka); string retezec = Console.ReadLine(); HledacRetezcu f = new HledacRetezcu(tabulka); Console.WriteLine(f.NajdiVzdalenostRetezce(retezec)); }