結果

問題 No.3033 Test of Russian
ユーザー Mcpu3Mcpu3
提出日時 2018-09-27 23:27:08
言語 Java19
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 2,042 ms
コンパイル使用メモリ 71,056 KB
実行使用メモリ 56,280 KB
最終ジャッジ日時 2023-08-02 09:49:58
合計ジャッジ時間 3,719 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,672 KB
testcase_01 AC 120 ms
56,276 KB
testcase_02 AC 119 ms
55,804 KB
testcase_03 AC 120 ms
56,008 KB
testcase_04 AC 119 ms
56,268 KB
testcase_05 AC 118 ms
55,512 KB
testcase_06 AC 120 ms
56,280 KB
testcase_07 AC 116 ms
56,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt(), M = sc.nextInt(), X = sc.nextInt();
        sc.close();
        if (3 > X - N + M) System.out.print("NO");
        else System.out.print("YES");
    }
}
0