updated megoldasok.md

This commit is contained in:
Digi 2025-03-05 18:51:43 +01:00
parent d07b86a0a1
commit ca49bc92c7
17 changed files with 91 additions and 31 deletions

View File

@ -7,7 +7,11 @@
"RelativeMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|e:\\h\u00E1zi\\13.oszt\u00E1ly\\neumann_verseny\\fordulo_2\\program\\idopont.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|e:\\h\u00E1zi\\13.oszt\u00E1ly\\neumann_verseny\\fordulo_2\\program\\jatekos.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|solutionrelative:jatekos.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\idopont.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|solutionrelative:idopont.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
@ -18,11 +22,24 @@
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"SelectedChildIndex": 2,
"Children": [
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Jatekos.cs",
"DocumentMoniker": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Jatekos.cs",
"RelativeDocumentMoniker": "Jatekos.cs",
"ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Jatekos.cs",
"RelativeToolTip": "Jatekos.cs",
"ViewState": "AgIAAAEAAAAAAAAAAAAiwBQAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-05T17:40:39.379Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Idopont.cs",
"DocumentMoniker": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Idopont.cs",
"RelativeDocumentMoniker": "Idopont.cs",
@ -30,8 +47,7 @@
"RelativeToolTip": "Idopont.cs",
"ViewState": "AgIAAAIAAAAAAAAAAAAAwC4AAAAJAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-05T11:46:26.985Z",
"EditorCaption": ""
"WhenOpened": "2025-03-05T11:46:26.985Z"
},
{
"$type": "Document",
@ -41,7 +57,7 @@
"RelativeDocumentMoniker": "Program.cs",
"ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Program.cs",
"RelativeToolTip": "Program.cs",
"ViewState": "AgIAAAsAAAAAAAAAAAAIwDcAAAAoAAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAXAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-05T11:40:10.358Z",
"EditorCaption": ""

View File

@ -7,7 +7,11 @@
"RelativeMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|e:\\h\u00E1zi\\13.oszt\u00E1ly\\neumann_verseny\\fordulo_2\\program\\idopont.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|e:\\h\u00E1zi\\13.oszt\u00E1ly\\neumann_verseny\\fordulo_2\\program\\jatekos.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|solutionrelative:jatekos.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\idopont.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{41CA5E6D-695E-47A8-9C50-9B4BFF31D3A5}|Program.csproj|solutionrelative:idopont.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
@ -18,11 +22,24 @@
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"SelectedChildIndex": 2,
"Children": [
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Jatekos.cs",
"DocumentMoniker": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Jatekos.cs",
"RelativeDocumentMoniker": "Jatekos.cs",
"ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Jatekos.cs",
"RelativeToolTip": "Jatekos.cs",
"ViewState": "AgIAAAEAAAAAAAAAAAAiwBQAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-05T17:40:39.379Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Idopont.cs",
"DocumentMoniker": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Idopont.cs",
"RelativeDocumentMoniker": "Idopont.cs",
@ -30,8 +47,7 @@
"RelativeToolTip": "Idopont.cs",
"ViewState": "AgIAAAIAAAAAAAAAAAAAwC4AAAAJAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-05T11:46:26.985Z",
"EditorCaption": ""
"WhenOpened": "2025-03-05T11:46:26.985Z"
},
{
"$type": "Document",
@ -41,7 +57,7 @@
"RelativeDocumentMoniker": "Program.cs",
"ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_2\\Program\\Program.cs",
"RelativeToolTip": "Program.cs",
"ViewState": "AgIAABIAAAAAAAAAAAA4wDUAAAANAAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-05T11:40:10.358Z",
"EditorCaption": ""

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Program
{
class Jatekos
{
public string Nev { get; set; }
public int Pontszam { get; set; }
}
class Kor
{
public Jatekos jatekos { get; set; }
public int[] dobasok { get; set; }
}
}

View File

@ -11,8 +11,8 @@ namespace Program
{
static void Main(string[] args)
{
//Feladat1();
Feladat2();
Feladat1();
//Feladat2();
}
@ -27,36 +27,22 @@ namespace Program
//dobasok
var data = File.ReadAllText(path).Trim();
string splitable = "";
foreach (char c in data)
{
splitable += " " + c.ToString();
dobasok.Add(Convert.ToInt32(c));
}
var dobasokData = splitable.Trim().Split(' ');
foreach (var item in dobasokData)
{
dobasok.Add(Convert.ToInt32(item));
}
//dontesek
var data2 = File.ReadAllText(path2).Trim();
string splitable2 = "";
foreach (char c in data2)
{
splitable2 += " " + c.ToString();
dontesek.Add(Convert.ToInt32(c));
}
var dontesekData = splitable2.Trim().Split(' ');
foreach (var item in dontesekData)
{
dontesek.Add(Convert.ToInt32(item));
}
}

View File

@ -44,6 +44,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Idopont.cs" />
<Compile Include="Jatekos.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

View File

@ -1 +1 @@
c2e1d7ce1c7e0d410616fd2841f24237f518162bfda30743ce1270bdade96f79
d1094c43d3b868fad5a0ff23c8dcaf01f5285b77df76a256b811cac28b58d2d0

View File

@ -16,4 +16,23 @@
- a: `7`
- b: `78`
![3.feladatB](images/feladat3.png)
- c: `53`
- c: `53`
## 2. Forduló
### 1. feladat
- a: `3:49`
- b: `1.5`
- c: `1|15:37`
### 2. feladat
- a: ``
- b: ``
- c: ``
- d: ``
- e: ``
### 3. feladat
- a: ``
- b: ``
- c: ``