結果

問題 No.2736 About half
ユーザー cp20
提出日時 2024-04-20 14:26:10
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 8,232 ms
コンパイル使用メモリ 228,916 KB
実行使用メモリ 41,080 KB
最終ジャッジ日時 2024-12-31 17:02:49
合計ジャッジ時間 9,791 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

import { readFileSync } from 'fs';
const input = readFileSync('/dev/stdin', 'utf8');
const [A, B] = input.split(' ').map(Number);
const ans = A * 2 < B || A > B * 2;
console.log(ans ? 'No' : 'Yes')
0