結果

問題 No.218 経験値1.5倍
ユーザー nak2yoshi
提出日時 2016-02-24 10:55:20
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 924 ms
コンパイル使用メモリ 101,376 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-12 03:02:53
合計ジャッジ時間 1,707 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio,
       std.conv,
       std.string,
       std.range,
       std.math,
       std.algorithm;

void main()
{
    auto a = readln.strip.to!real;
    auto b = readln.strip.to!real;
    auto c = readln.strip.to!real;

    ((a / b).ceil * 2 >= (a / c).ceil * 3 ? "YES" : "NO").writeln;
}
0