結果

問題 No.1527 Input Constant is Good
ユーザー ks2mks2m
提出日時 2021-06-04 20:32:46
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 2,044 ms
コンパイル使用メモリ 70,984 KB
実行使用メモリ 56,116 KB
最終ジャッジ日時 2023-08-12 09:41:28
合計ジャッジ時間 4,263 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
56,116 KB
testcase_01 AC 125 ms
55,856 KB
testcase_02 AC 123 ms
55,572 KB
testcase_03 AC 124 ms
55,640 KB
testcase_04 AC 123 ms
55,740 KB
testcase_05 AC 124 ms
55,888 KB
testcase_06 AC 123 ms
55,764 KB
testcase_07 AC 123 ms
56,084 KB
testcase_08 AC 123 ms
55,784 KB
testcase_09 AC 121 ms
55,912 KB
testcase_10 AC 123 ms
55,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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

		if (a <= b) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}
0