結果

問題 No.857 素振り
ユーザー curryudon08curryudon08
提出日時 2020-06-10 22:47:36
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 1,000 ms
コード長 470 bytes
コンパイル時間 2,622 ms
コンパイル使用メモリ 99,592 KB
実行使用メモリ 22,892 KB
最終ジャッジ日時 2023-09-05 23:31:42
合計ジャッジ時間 3,899 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,704 KB
testcase_01 AC 56 ms
20,704 KB
testcase_02 AC 56 ms
22,684 KB
testcase_03 AC 57 ms
22,856 KB
testcase_04 AC 56 ms
20,772 KB
testcase_05 AC 58 ms
22,892 KB
testcase_06 AC 59 ms
20,764 KB
testcase_07 AC 57 ms
20,816 KB
testcase_08 AC 56 ms
20,700 KB
testcase_09 AC 57 ms
20,716 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace _0857
{
    class Program
    {
        static void Main(string[] args)
        {
            var _ = Console.ReadLine().Split();
            var x = long.Parse(_[0]);
            var y = long.Parse(_[1]);
            var z = long.Parse(_[2]);

            var a = z;
            if(x <= z){
                a -= 1;
            }
            if(y <= z){
                a -= 1;
            }

            Console.WriteLine(a);
        }
    }
}
0