結果
問題 |
No.2736 About half
|
ユーザー |
|
提出日時 | 2025-04-03 16:27:04 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 262 bytes |
コンパイル時間 | 2,238 ms |
コンパイル使用メモリ | 192,816 KB |
実行使用メモリ | 7,720 KB |
最終ジャッジ日時 | 2025-04-03 16:27:07 |
合計ジャッジ時間 | 3,027 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
import std; import core.bitop; import core.checkedint; import core.time; void main() { int a, b; readf("%d %d\n", a, b); writeln(yes(a * 2 >= b && a <= b * 2)); } pragma(inline) string yes(const bool b) pure @nogc nothrow @safe { return b ? "Yes" : "No"; }