結果

問題 No.2736 About half
ユーザー koufu193koufu193
提出日時 2024-04-20 13:08:03
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 267 bytes
コンパイル時間 2,291 ms
コンパイル使用メモリ 74,284 KB
実行使用メモリ 56,396 KB
最終ジャッジ日時 2024-04-20 13:08:09
合計ジャッジ時間 5,633 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 137 ms
41,432 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 140 ms
41,312 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 139 ms
41,212 KB
testcase_13 WA -
testcase_14 AC 138 ms
41,076 KB
testcase_15 WA -
testcase_16 AC 139 ms
41,212 KB
testcase_17 AC 142 ms
40,948 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(Math.max(a,b)<Math.min(a,b)*2) System.out.println("No");
		else System.out.println("Yes");
	}
}
0