Submission #5930078
Source Code Expand
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using System.Runtime.CompilerServices; using static MyUtil; class MyUtil { public static int[] ReadIntArray() { return ReadLine().Split().Select(x => int.Parse(x)).ToArray(); } } class Program { public static void Main() { var tmp = ReadIntArray(); int a = tmp[0], b = tmp[1]; WriteLine(a - (b < a? 1 : 0)); } }
Submission Info
Submission Time | |
---|---|
Task | A - Day of Takahashi |
User | unnohideyuki |
Language | C# (Mono 4.6.2.0) |
Score | 100 |
Code Size | 462 Byte |
Status | AC |
Exec Time | 23 ms |
Memory | 13268 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
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 | 23 ms | 11220 KB |
in02.txt | AC | 23 ms | 11220 KB |
in03.txt | AC | 23 ms | 11220 KB |
in04.txt | AC | 22 ms | 9172 KB |
sample_01.txt | AC | 23 ms | 11220 KB |
sample_02.txt | AC | 23 ms | 11348 KB |
sample_03.txt | AC | 23 ms | 13268 KB |