45222023-03-29 12:22:13TortelliniJrSakktábla (75 pont)csharpWrong answer 0/7530ms24984 KiB
using System;
using System.Linq;
namespace Sakktáblatorta
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] inp = Console.ReadLine().Split().Select(int.Parse).ToArray();
            if (inp[0] < inp[1])
            {
                //Console.WriteLine(Math.Floor(Math.Sqrt(inp[0] * 2 + 1)));
            }
            else
            {
                //Console.WriteLine(Math.Floor(Math.Sqrt(inp[1] * 2 + 1)));
            }
            Console.ReadKey();
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base0/75
1Wrong answer0/030ms21408 KiB
2Wrong answer0/029ms22172 KiB
3Wrong answer0/530ms22492 KiB
4Wrong answer0/529ms22836 KiB
5Wrong answer0/529ms22964 KiB
6Wrong answer0/528ms23244 KiB
7Wrong answer0/530ms23440 KiB
8Wrong answer0/529ms23188 KiB
9Wrong answer0/529ms23780 KiB
10Wrong answer0/528ms24160 KiB
11Wrong answer0/728ms24780 KiB
12Wrong answer0/728ms24380 KiB
13Wrong answer0/728ms24780 KiB
14Wrong answer0/730ms24756 KiB
15Wrong answer0/729ms24984 KiB