82912024-01-14 09:55:20czitaMekk Mester munkái (50 pont)csharpWrong answer 0/50256ms42468 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 int sorszam;
            public pont(int sorszam)
            {
                t = Console.ReadLine().Split().Select(int.Parse).ToArray();
                mettol = t[0];
                meddig = t[1];
                this.sorszam = sorszam;
            }
            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++)
                //{
                //    G.Add(new pont(i+1));
                //}
                //var gr=G.OrderBy(x => x.mettol).ToList();
                t = Console.ReadLine().Split().Select(int.Parse).ToArray();
                int N = t[0]; int H = t[1];
                pont[] G = new pont[N];
                int[] sr = new int[N];  
                for (int i = 0; i < N; i++)
                {
                    G[i]=new pont(i + 1);
                    sr[i]=G[i].mettol;
                }
                Array.Sort(sr,G);
                

            }
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base0/50
1Wrong answer0/034ms22064 KiB
2Wrong answer0/056ms28788 KiB
3Wrong answer0/132ms23016 KiB
4Wrong answer0/132ms23376 KiB
5Wrong answer0/232ms23988 KiB
6Wrong answer0/234ms24148 KiB
7Wrong answer0/234ms24820 KiB
8Wrong answer0/234ms25120 KiB
9Wrong answer0/334ms25004 KiB
10Wrong answer0/135ms25568 KiB
11Wrong answer0/135ms26136 KiB
12Wrong answer0/235ms25868 KiB
13Wrong answer0/235ms25828 KiB
14Wrong answer0/235ms26484 KiB
15Wrong answer0/235ms26280 KiB
16Wrong answer0/335ms26684 KiB
17Wrong answer0/2252ms42292 KiB
18Wrong answer0/2252ms42392 KiB
19Wrong answer0/4256ms42468 KiB
20Wrong answer0/4252ms42416 KiB
21Wrong answer0/4256ms42292 KiB
22Wrong answer0/4256ms41936 KiB
23Wrong answer0/4254ms42428 KiB