結果

問題 No.780 オフ会
ユーザー boya978boya978
提出日時 2020-03-02 01:45:10
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 366 bytes
コンパイル時間 2,382 ms
コンパイル使用メモリ 101,108 KB
実行使用メモリ 22,844 KB
最終ジャッジ日時 2023-08-03 23:49:42
合計ジャッジ時間 5,029 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
20,840 KB
testcase_01 AC 59 ms
22,824 KB
testcase_02 AC 59 ms
20,840 KB
testcase_03 AC 58 ms
20,816 KB
testcase_04 AC 59 ms
20,724 KB
testcase_05 AC 58 ms
20,736 KB
testcase_06 AC 59 ms
20,832 KB
testcase_07 AC 58 ms
20,756 KB
testcase_08 AC 59 ms
20,788 KB
testcase_09 AC 60 ms
22,728 KB
testcase_10 AC 58 ms
20,796 KB
testcase_11 AC 58 ms
20,876 KB
testcase_12 AC 58 ms
20,792 KB
testcase_13 AC 58 ms
18,676 KB
testcase_14 AC 57 ms
20,792 KB
testcase_15 AC 58 ms
20,780 KB
testcase_16 AC 58 ms
20,972 KB
testcase_17 AC 59 ms
22,776 KB
testcase_18 AC 58 ms
20,780 KB
testcase_19 AC 58 ms
20,796 KB
testcase_20 AC 59 ms
22,840 KB
testcase_21 AC 58 ms
20,864 KB
testcase_22 AC 59 ms
22,844 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
public class Hello{
    public static void Main(){
        
        var nums = Console.ReadLine().Split();
        int m = int.Parse(nums[0]) + 1;
        int f = int.Parse(nums[1]);
        
        if(m<=f)
            Console.WriteLine("YES");
        else
            Console.WriteLine("NO");

        Console.WriteLine(Math.Abs(m-f));    
    }
}
0