Submission #2459282


Source Code Expand

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC096A
{
    class Program
    {
        static void Main(string[] args)
        {
            var ab = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int a = ab[0];
            int b = ab[1];

            if (b < a)
            {
                Console.WriteLine(a - 1);
            }
            else Console.WriteLine(a);

            Console.ReadKey();
        }
    }
}

Submission Info

Submission Time
Task A - Day of Takahashi
User bananbo
Language C# (Mono 4.6.2.0)
Score 100
Code Size 551 Byte
Status AC
Exec Time 26 ms
Memory 13268 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 7
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All in01.txt, in02.txt, in03.txt, in04.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
in01.txt AC 26 ms 11348 KB
in02.txt AC 24 ms 11220 KB
in03.txt AC 23 ms 9300 KB
in04.txt AC 24 ms 13268 KB
sample_01.txt AC 23 ms 9300 KB
sample_02.txt AC 25 ms 13268 KB
sample_03.txt AC 24 ms 11220 KB