75522024-01-09 14:18:37TortelliniJrTom és Jerry 1 (80)csharpRuntime error 0/8083ms34940 KiB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
            }
            var 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/035ms21792 KiB
2Runtime error0/035ms22348 KiB
3Runtime error0/435ms22544 KiB
4Runtime error0/434ms22692 KiB
5Runtime error0/435ms23584 KiB
6Runtime error0/435ms23820 KiB
7Runtime error0/435ms24492 KiB
8Runtime error0/435ms24628 KiB
9Runtime error0/435ms25012 KiB
10Runtime error0/435ms24616 KiB
11Runtime error0/439ms26140 KiB
12Runtime error0/441ms25812 KiB
13Runtime error0/443ms26836 KiB
14Runtime error0/454ms29076 KiB
15Runtime error0/464ms31252 KiB
16Runtime error0/463ms31544 KiB
17Runtime error0/479ms34940 KiB
18Runtime error0/463ms31208 KiB
19Runtime error0/463ms31612 KiB
20Runtime error0/464ms31240 KiB
21Runtime error0/463ms31220 KiB
22Runtime error0/483ms34832 KiB