82872024-01-14 09:45:48czitaMekk Mester munkái (50 pont)csharpRuntime error 0/50207ms39144 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 M = t[1];
                List<pont> G = new List<pont>();
                for (int i = 0; i < M; 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/034ms21552 KiB
2Runtime error0/050ms27312 KiB
3Runtime error0/135ms22588 KiB
4Runtime error0/135ms23124 KiB
5Runtime error0/235ms23708 KiB
6Runtime error0/235ms23680 KiB
7Runtime error0/234ms24148 KiB
8Runtime error0/235ms24296 KiB
9Runtime error0/334ms24460 KiB
10Runtime error0/137ms25232 KiB
11Runtime error0/137ms25616 KiB
12Runtime error0/237ms25304 KiB
13Runtime error0/235ms25444 KiB
14Runtime error0/237ms25596 KiB
15Runtime error0/237ms25728 KiB
16Runtime error0/337ms25576 KiB
17Runtime error0/2200ms38336 KiB
18Runtime error0/2202ms39028 KiB
19Runtime error0/4202ms38504 KiB
20Runtime error0/4207ms38788 KiB
21Runtime error0/4200ms38732 KiB
22Runtime error0/4202ms39064 KiB
23Runtime error0/4200ms39144 KiB