updated megoldasok.md
This commit is contained in:
parent
d07b86a0a1
commit
ca49bc92c7
fordulo_2/Program
.vs/Program
CopilotIndices/17.13.431.34963
FileContentIndex
9920b173-444a-4f29-af3e-a1006b703d54.vsidxbc4d0e7d-3e6e-4f9d-acf9-c50f931db14b.vsidxc3d66a48-e0b6-40c3-bbec-fa0b7a0d8129.vsidx
v17
bin/Debug
obj/Debug
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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": ""
|
||||
|
|
|
@ -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": ""
|
||||
|
|
22
fordulo_2/Program/Jatekos.cs
Normal file
22
fordulo_2/Program/Jatekos.cs
Normal 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; }
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Idopont.cs" />
|
||||
<Compile Include="Jatekos.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
c2e1d7ce1c7e0d410616fd2841f24237f518162bfda30743ce1270bdade96f79
|
||||
d1094c43d3b868fad5a0ff23c8dcaf01f5285b77df76a256b811cac28b58d2d0
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -16,4 +16,23 @@
|
|||
- a: `7`
|
||||
- b: `78`
|
||||

|
||||
- 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: ``
|
||||
|
|
Loading…
Reference in New Issue
Block a user