75542024-01-09 14:25:14TortelliniJrTom és Jerry 1 (80)csharpRuntime error 0/8082ms36072 KiB
using System;
using System.Linq;
namespace tomesjerryihm
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] inp = Console.ReadLine().Split().Select(int.Parse).ToArray();
            for (int i = 0; i < inp[1] + inp[3]; i++)
            {
                Console.ReadLine();
            }
            Random rand = new Random();
            for (int i = 0; i < inp[3] - 1; i++)
            {
                if (rand.Next(0, 2) == 0)
                {
                    Console.WriteLine("IGEN");
                }
                else
                {
                    Console.WriteLine("NEM");
                }
            }
            if (rand.Next(0, 2) == 0)
            {
                Console.Write("IGEN");
            }
            else
            {
                Console.Write("NEM");
            }
            Console.ReadLine();
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base0/80
1Runtime error0/035ms21836 KiB
2Runtime error0/037ms22352 KiB
3Runtime error0/435ms22132 KiB
4Runtime error0/435ms22832 KiB
5Runtime error0/435ms23160 KiB
6Runtime error0/437ms23296 KiB
7Runtime error0/437ms23588 KiB
8Runtime error0/437ms23852 KiB
9Runtime error0/437ms24404 KiB
10Runtime error0/435ms24596 KiB
11Runtime error0/439ms25968 KiB
12Runtime error0/441ms26104 KiB
13Runtime error0/445ms27384 KiB
14Runtime error0/454ms29292 KiB
15Runtime error0/467ms31336 KiB
16Runtime error0/461ms31684 KiB
17Runtime error0/476ms35200 KiB
18Runtime error0/461ms31556 KiB
19Runtime error0/463ms32140 KiB
20Runtime error0/461ms32104 KiB
21Runtime error0/464ms32588 KiB
22Runtime error0/482ms36072 KiB