結果

問題 No.3033 Test of Russian
ユーザー uafr_csuafr_cs
提出日時 2018-04-01 22:55:33
言語 Java19
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 285 bytes
コンパイル時間 3,626 ms
コンパイル使用メモリ 71,068 KB
実行使用メモリ 55,860 KB
最終ジャッジ日時 2023-09-08 12:50:19
合計ジャッジ時間 3,600 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,552 KB
testcase_01 AC 125 ms
55,516 KB
testcase_02 AC 122 ms
55,604 KB
testcase_03 AC 125 ms
53,572 KB
testcase_04 AC 125 ms
55,524 KB
testcase_05 AC 126 ms
55,736 KB
testcase_06 AC 123 ms
55,860 KB
testcase_07 AC 124 ms
55,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		final int N = sc.nextInt();
		final int M = sc.nextInt();
		final int X = sc.nextInt();
		
		System.out.println(X - (N - M) >= 3 ? "YES" : "NO");
	}
}
0