結果

問題 No.3248 構築問題
ユーザー Maeda
提出日時 2025-09-09 16:50:11
言語 Java
(openjdk 23)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 304 bytes
コンパイル時間 2,496 ms
コンパイル使用メモリ 76,748 KB
実行使用メモリ 46,476 KB
最終ジャッジ日時 2025-09-09 16:50:16
合計ジャッジ時間 4,495 ms
ジャッジサーバーID
(参考情報)
judge1 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int x = scan.nextInt();
    	if(n == 1){
    		System.out.println("No");
    	}else{
    		System.out.println("Yes");
    	}
    }
}
0