kijavitottam a 3. feladat c bizonyitasat
This commit is contained in:
parent
c7b0f6f595
commit
55d1a3403c
fordulo_2/Program
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -28,7 +28,7 @@
|
|||
"RelativeDocumentMoniker": "Program.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Program.cs",
|
||||
"RelativeToolTip": "Program.cs",
|
||||
"ViewState": "AgIAANMAAAAAAAAAAAAmwOAAAAAjAAAAAAAAAA==",
|
||||
"ViewState": "AgIAANkAAAAAAAAAAAAmwPUAAAA9AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-05T11:40:10.358Z",
|
||||
"EditorCaption": ""
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"RelativeDocumentMoniker": "Program.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Program.cs",
|
||||
"RelativeToolTip": "Program.cs",
|
||||
"ViewState": "AgIAANMAAAAAAAAAAAAmwOAAAAAjAAAAAAAAAA==",
|
||||
"ViewState": "AgIAANkAAAAAAAAAAAAmwPwAAAAOAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-05T11:40:10.358Z",
|
||||
"EditorCaption": ""
|
||||
|
|
|
@ -223,8 +223,8 @@ namespace Program
|
|||
*/
|
||||
|
||||
// d feladat bizonyítás
|
||||
|
||||
/*
|
||||
|
||||
List<char> maganhangzok = new List<char>();
|
||||
|
||||
foreach (char c in cmegoldasString)
|
||||
|
@ -240,18 +240,18 @@ namespace Program
|
|||
|
||||
|
||||
List<char> megtalatkarakterek = new List<char>();
|
||||
for (int i = 0; i < feladatBString.Length; i += 2)
|
||||
for (int i = 0; i < feladatCString.Length; i += 2)
|
||||
{
|
||||
int row = lookUpTable[feladatBString[i]];
|
||||
int col = lookUpTable[feladatBString[i + 1]];
|
||||
int row = lookUpTable[feladatCString[i]];
|
||||
int col = lookUpTable[feladatCString[i + 1]];
|
||||
|
||||
megtalatkarakterek.Add(tablazat[row, col]);
|
||||
|
||||
}
|
||||
|
||||
Console.WriteLine(new string(megtalatkarakterek.ToArray()));
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
static char[,] CreateAlphabetMatrix()
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user