82882024-01-14 09:46:58czitaMekk Mester munkái (50 pont)csharpRuntime error 0/50206ms38884 KiB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mekkmester
{
    internal class Program
    {
        static int[] t;
        class pont
        {

            public int mettol;
            public int meddig;
            public pont()
            {
                t = Console.ReadLine().Split().Select(int.Parse).ToArray();
                mettol = t[0];
                meddig = t[1];
            }
            static void Main(string[] args)
            {
                t = Console.ReadLine().Split().Select(int.Parse).ToArray();
                int N = t[0]; int H = t[1];
                List<pont> G = new List<pont>();
                for (int i = 0; i < N; i++)
                {
                    t = Console.ReadLine().Split().Select(int.Parse).ToArray();
                    G.Add(new pont());
                }
                var gr=G.OrderBy(x => x.mettol).ToList();
            }
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base0/50
1Runtime error0/035ms21972 KiB
2Runtime error0/052ms27864 KiB
3Runtime error0/134ms22864 KiB
4Runtime error0/134ms23304 KiB
5Runtime error0/235ms23576 KiB
6Runtime error0/234ms23708 KiB
7Runtime error0/235ms24088 KiB
8Runtime error0/235ms24116 KiB
9Runtime error0/337ms24348 KiB
10Runtime error0/137ms24680 KiB
11Runtime error0/137ms25544 KiB
12Runtime error0/237ms25304 KiB
13Runtime error0/237ms25360 KiB
14Runtime error0/237ms25396 KiB
15Runtime error0/235ms25244 KiB
16Runtime error0/335ms25200 KiB
17Runtime error0/2204ms38124 KiB
18Runtime error0/2202ms38708 KiB
19Runtime error0/4206ms38476 KiB
20Runtime error0/4204ms38676 KiB
21Runtime error0/4204ms38748 KiB
22Runtime error0/4201ms38812 KiB
23Runtime error0/4206ms38884 KiB