結果

問題 No.3033 Test of Russian
ユーザー fal_rndfal_rnd
提出日時 2018-04-03 18:13:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 1,946 ms
コンパイル使用メモリ 71,748 KB
実行使用メモリ 56,280 KB
最終ジャッジ日時 2023-09-08 15:30:27
合計ジャッジ時間 3,704 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,760 KB
testcase_01 AC 125 ms
53,900 KB
testcase_02 AC 123 ms
56,280 KB
testcase_03 AC 124 ms
55,820 KB
testcase_04 AC 125 ms
55,712 KB
testcase_05 AC 125 ms
55,696 KB
testcase_06 AC 124 ms
55,696 KB
testcase_07 AC 123 ms
56,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main{
	public static void main(String[]$){
		Scanner s=new Scanner(System.in);
		int n=s.nextInt(),m=s.nextInt(),x=s.nextInt();
		System.out.println(n-m+3<=x?"YES":"NO");
	}
}
0