75532024-01-09 14:20:14TortelliniJrTom és Jerry 1 (80)csharpRuntime error 0/8082ms35700 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");
            }
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base0/80
1Runtime error0/035ms22152 KiB
2Runtime error0/035ms22708 KiB
3Runtime error0/435ms22816 KiB
4Runtime error0/435ms23288 KiB
5Runtime error0/435ms23200 KiB
6Runtime error0/435ms23572 KiB
7Runtime error0/435ms23968 KiB
8Runtime error0/435ms24496 KiB
9Runtime error0/435ms24304 KiB
10Runtime error0/435ms24492 KiB
11Runtime error0/439ms25076 KiB
12Runtime error0/439ms26156 KiB
13Runtime error0/443ms27360 KiB
14Runtime error0/454ms29392 KiB
15Runtime error0/463ms31800 KiB
16Runtime error0/461ms32124 KiB
17Runtime error0/478ms35424 KiB
18Runtime error0/461ms31704 KiB
19Runtime error0/461ms31876 KiB
20Runtime error0/464ms31796 KiB
21Runtime error0/461ms32356 KiB
22Runtime error0/482ms35700 KiB