結果

問題 No.1527 Input Constant is Good
ユーザー マサマサ
提出日時 2022-09-16 21:11:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 290 bytes
コンパイル時間 3,343 ms
コンパイル使用メモリ 71,076 KB
実行使用メモリ 56,056 KB
最終ジャッジ日時 2023-08-23 14:18:10
合計ジャッジ時間 5,512 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,760 KB
testcase_01 AC 121 ms
55,668 KB
testcase_02 AC 126 ms
55,668 KB
testcase_03 AC 121 ms
55,620 KB
testcase_04 AC 121 ms
55,852 KB
testcase_05 AC 123 ms
55,436 KB
testcase_06 AC 121 ms
55,596 KB
testcase_07 AC 122 ms
56,056 KB
testcase_08 AC 122 ms
55,708 KB
testcase_09 AC 123 ms
55,752 KB
testcase_10 AC 122 ms
55,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		if (a <= b) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		
		sc.close();
	}
}
0