結果
| 問題 |
No.2736 About half
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-20 14:29:07 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 2,000 ms |
| コード長 | 199 bytes |
| コンパイル時間 | 8,809 ms |
| コンパイル使用メモリ | 228,276 KB |
| 実行使用メモリ | 41,084 KB |
| 最終ジャッジ日時 | 2025-01-01 00:42:56 |
| 合計ジャッジ時間 | 11,293 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
let lines: string[] = require("fs").readFileSync("/dev/stdin", "utf8").split("\n");
const [A, B] = lines[0].split(' ').map(Number);
const ans = A * 2 < B || A > B * 2;
console.log(ans ? 'No' : 'Yes')