結果

問題 No.3248 構築問題
ユーザー ks2m
提出日時 2025-08-29 23:14:04
言語 Java
(openjdk 23)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 3,377 ms
コンパイル使用メモリ 76,972 KB
実行使用メモリ 41,536 KB
最終ジャッジ日時 2025-08-29 23:14:19
合計ジャッジ時間 5,370 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		sc.close();

		if (n == 1) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
}
0