結果

問題 No.2736 About half
ユーザー YU Hirose
提出日時 2024-07-22 23:24:19
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 275 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 6,684 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-07-22 23:24:22
合計ジャッジ時間 2,513 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    input = input.trim().split("\n");
    const [a, b] = input[0].trim().split(" ").map(Number);
    if ((a > 2 * b) || (b > 2 * a))
        console.log("No")
    else
        console.log("Yes")
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0