結果

問題 No.8033 Test of Russian
ユーザー Maeda
提出日時 2025-08-28 13:05:47
言語 Java
(openjdk 23)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 302 bytes
コンパイル時間 2,692 ms
コンパイル使用メモリ 77,092 KB
実行使用メモリ 46,440 KB
最終ジャッジ日時 2025-08-28 13:05:52
合計ジャッジ時間 4,199 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int m = scan.nextInt();
		int x = scan.nextInt();
		if(m+x >= n+3){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
    }
}
0