結果
| 問題 | 
                            No.8033 Test of Russian
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kohaku_kohaku
                         | 
                    
| 提出日時 | 2018-04-01 22:59:18 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 140 ms / 2,000 ms | 
| コード長 | 361 bytes | 
| コンパイル時間 | 2,224 ms | 
| コンパイル使用メモリ | 74,396 KB | 
| 実行使用メモリ | 54,156 KB | 
| 最終ジャッジ日時 | 2024-06-26 06:04:47 | 
| 合計ジャッジ時間 | 4,131 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 7 | 
ソースコード
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int x = sc.nextInt();
        if( x >= (n-m)+3 ) {
            System.out.println("YES");
        } else {
            System.out.println("NO");
        }
    }
}
            
            
            
        
            
kohaku_kohaku