Please sign in first.
提出 #2465102
ソースコード 拡げる
using System;
namespace ConsoleApp4
{
class Program
{
static void Main(string[] args)
{
var str = Console.ReadLine().Split(' ');
var a = int.Parse( str[0]);
var b = int.Parse(str[1]);
Console.WriteLine(a - ((b < a) ? 1 : 0));
}
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Day of Takahashi |
| ユーザ | MayoToya |
| 言語 | C# (Mono 4.6.2.0) |
| 得点 | 100 |
| コード長 | 337 Byte |
| 結果 | AC |
| 実行時間 | 20 ms |
| メモリ | 11092 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| 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 |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| in01.txt | AC | 20 ms | 11092 KiB |
| in02.txt | AC | 20 ms | 11092 KiB |
| in03.txt | AC | 20 ms | 11092 KiB |
| in04.txt | AC | 20 ms | 11092 KiB |
| sample_01.txt | AC | 19 ms | 9044 KiB |
| sample_02.txt | AC | 20 ms | 11092 KiB |
| sample_03.txt | AC | 19 ms | 9044 KiB |